	.file	"extr_hci_ldisc.c_hci_uart_set_flags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hci_uart_set_flags, @function
hci_uart_set_flags:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, DWORD PTR HCI_UART_RAW_DEVICE[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	BIT@PLT
	mov	edi, DWORD PTR HCI_UART_RESET_ON_INIT[rip]
	mov	rbx, rax
	call	BIT@PLT
	mov	edi, DWORD PTR HCI_UART_CREATE_AMP[rip]
	or	rbx, rax
	call	BIT@PLT
	mov	edi, DWORD PTR HCI_UART_INIT_PENDING[rip]
	or	rbx, rax
	call	BIT@PLT
	mov	edi, DWORD PTR HCI_UART_EXT_CONFIG[rip]
	or	rbx, rax
	call	BIT@PLT
	mov	edi, DWORD PTR HCI_UART_VND_DETECT[rip]
	or	rbx, rax
	call	BIT@PLT
	or	rbx, rax
	mov	eax, DWORD PTR EINVAL[rip]
	not	rbx
	neg	eax
	test	rbx, r12
	jne	.L1
	mov	QWORD PTR 0[rbp], r12
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hci_uart_set_flags, .-hci_uart_set_flags
	.comm	HCI_UART_VND_DETECT,4,4
	.comm	HCI_UART_RESET_ON_INIT,4,4
	.comm	HCI_UART_RAW_DEVICE,4,4
	.comm	HCI_UART_INIT_PENDING,4,4
	.comm	HCI_UART_EXT_CONFIG,4,4
	.comm	HCI_UART_CREATE_AMP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hci_ldisc.c_hci_uart_set_flags.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hci_uart_set_flags, %function
hci_uart_set_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r3]
	mov	r6, r1
	bl	BIT
	ldr	r3, .L6+4
	mov	r4, r0
	ldr	r0, [r3]
	bl	BIT
	ldr	r3, .L6+8
	orr	r4, r4, r0
	ldr	r0, [r3]
	bl	BIT
	ldr	r2, .L6+12
	orr	r4, r4, r0
	ldr	r0, [r2]
	bl	BIT
	ldr	r2, .L6+16
	orr	r4, r4, r0
	ldr	r0, [r2]
	bl	BIT
	ldr	r2, .L6+20
	orr	r4, r4, r0
	ldr	r0, [r2]
	bl	BIT
	orr	r3, r4, r0
	bics	r0, r6, r3
	ldrne	r3, .L6+24
	streq	r6, [r5]
	ldrne	r0, [r3]
	rsbne	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	HCI_UART_RAW_DEVICE
	.word	HCI_UART_RESET_ON_INIT
	.word	HCI_UART_CREATE_AMP
	.word	HCI_UART_INIT_PENDING
	.word	HCI_UART_EXT_CONFIG
	.word	HCI_UART_VND_DETECT
	.word	EINVAL
	.size	hci_uart_set_flags, .-hci_uart_set_flags
	.comm	HCI_UART_VND_DETECT,4,4
	.comm	HCI_UART_RESET_ON_INIT,4,4
	.comm	HCI_UART_RAW_DEVICE,4,4
	.comm	HCI_UART_INIT_PENDING,4,4
	.comm	HCI_UART_EXT_CONFIG,4,4
	.comm	HCI_UART_CREATE_AMP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
