	.file	"extr_main.c_wl18xx_set_host_cfg_bitmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wl18xx_set_host_cfg_bitmap, @function
wl18xx_set_host_cfg_bitmap:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	eax, DWORD PTR [rdi]
	mov	ecx, esi
	mov	esi, DWORD PTR HOST_IF_CFG_RX_FIFO_ENABLE[rip]
	or	esi, DWORD PTR HOST_IF_CFG_ADD_RX_ALIGNMENT[rip]
	mov	edx, eax
	and	edx, DWORD PTR WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN[rip]
	je	.L2
	mov	edx, DWORD PTR WL12XX_BUS_BLOCK_SIZE[rip]
	or	esi, DWORD PTR HOST_IF_CFG_TX_PAD_TO_SDIO_BLK[rip]
.L2:
	test	DWORD PTR WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN[rip], eax
	je	.L3
	mov	edx, DWORD PTR WL12XX_BUS_BLOCK_SIZE[rip]
	or	esi, DWORD PTR HOST_IF_CFG_RX_PAD_TO_SDIO_BLK[rip]
.L3:
	mov	r8d, DWORD PTR WL18XX_HOST_IF_LEN_SIZE_FIELD[rip]
	call	wl18xx_acx_host_if_cfg_bitmap@PLT
	mov	edx, 0
	test	eax, eax
	cmovg	eax, edx
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wl18xx_set_host_cfg_bitmap, .-wl18xx_set_host_cfg_bitmap
	.comm	WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN,4,4
	.comm	WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN,4,4
	.comm	WL18XX_HOST_IF_LEN_SIZE_FIELD,4,4
	.comm	WL12XX_BUS_BLOCK_SIZE,4,4
	.comm	HOST_IF_CFG_TX_PAD_TO_SDIO_BLK,4,4
	.comm	HOST_IF_CFG_RX_PAD_TO_SDIO_BLK,4,4
	.comm	HOST_IF_CFG_RX_FIFO_ENABLE,4,4
	.comm	HOST_IF_CFG_ADD_RX_ALIGNMENT,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_main.c_wl18xx_set_host_cfg_bitmap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl18xx_set_host_cfg_bitmap, %function
wl18xx_set_host_cfg_bitmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L12
	ldr	ip, .L12+4
	ldr	r3, .L12+8
	push	{r4, lr}
	ldr	r2, [r2]
	ldr	r4, [r0]
	ldr	lr, [ip]
	ldr	ip, [r3]
	ands	r2, r4, r2
	mov	r3, r1
	orr	r1, lr, ip
	ldrne	ip, .L12+12
	ldrne	r2, .L12+16
	ldrne	ip, [ip]
	ldrne	r2, [r2]
	orrne	r1, r1, ip
	ldr	ip, .L12+20
	sub	sp, sp, #8
	ldr	ip, [ip]
	tst	r4, ip
	ldrne	ip, .L12+24
	ldrne	r2, .L12+16
	ldrne	ip, [ip]
	ldrne	r2, [r2]
	orrne	r1, r1, ip
	ldr	ip, .L12+28
	ldr	ip, [ip]
	str	ip, [sp]
	bl	wl18xx_acx_host_if_cfg_bitmap
	and	r0, r0, r0, asr #31
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN
	.word	HOST_IF_CFG_RX_FIFO_ENABLE
	.word	HOST_IF_CFG_ADD_RX_ALIGNMENT
	.word	HOST_IF_CFG_TX_PAD_TO_SDIO_BLK
	.word	WL12XX_BUS_BLOCK_SIZE
	.word	WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN
	.word	HOST_IF_CFG_RX_PAD_TO_SDIO_BLK
	.word	WL18XX_HOST_IF_LEN_SIZE_FIELD
	.size	wl18xx_set_host_cfg_bitmap, .-wl18xx_set_host_cfg_bitmap
	.comm	WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN,4,4
	.comm	WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN,4,4
	.comm	WL18XX_HOST_IF_LEN_SIZE_FIELD,4,4
	.comm	WL12XX_BUS_BLOCK_SIZE,4,4
	.comm	HOST_IF_CFG_TX_PAD_TO_SDIO_BLK,4,4
	.comm	HOST_IF_CFG_RX_PAD_TO_SDIO_BLK,4,4
	.comm	HOST_IF_CFG_RX_FIFO_ENABLE,4,4
	.comm	HOST_IF_CFG_ADD_RX_ALIGNMENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
