	.file	"extr_init.c_wl1251_hw_init_phy_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wl1251_hw_init_phy_config
	.type	wl1251_hw_init_phy_config, @function
wl1251_hw_init_phy_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	wl1251_acx_pd_threshold@PLT
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR DEFAULT_SLOT_TIME[rip]
	mov	rdi, rbp
	call	wl1251_acx_slot@PLT
	test	eax, eax
	js	.L1
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, 1
	mov	rdi, rbp
	call	wl1251_acx_group_address_tbl@PLT
	test	eax, eax
	js	.L1
	mov	rdi, rbp
	call	wl1251_acx_service_period_timeout@PLT
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR RTS_THRESHOLD_DEF[rip]
	mov	rdi, rbp
	call	wl1251_acx_rts_threshold@PLT
	mov	edx, 0
	test	eax, eax
	cmovg	eax, edx
.L1:
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wl1251_hw_init_phy_config, .-wl1251_hw_init_phy_config
	.comm	RTS_THRESHOLD_DEF,4,4
	.comm	DEFAULT_SLOT_TIME,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_init.c_wl1251_hw_init_phy_config.c"
	.text
	.align	2
	.global	wl1251_hw_init_phy_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl1251_hw_init_phy_config, %function
wl1251_hw_init_phy_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	wl1251_acx_pd_threshold
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r3, .L5
	mov	r0, r4
	ldr	r1, [r3]
	bl	wl1251_acx_slot
	cmp	r0, #0
	poplt	{r4, pc}
	mov	r3, #0
	mov	r1, #1
	mov	r2, r3
	mov	r0, r4
	bl	wl1251_acx_group_address_tbl
	cmp	r0, #0
	poplt	{r4, pc}
	mov	r0, r4
	bl	wl1251_acx_service_period_timeout
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r3, .L5+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	wl1251_acx_rts_threshold
	and	r0, r0, r0, asr #31
	pop	{r4, pc}
.L6:
	.align	2
.L5:
	.word	DEFAULT_SLOT_TIME
	.word	RTS_THRESHOLD_DEF
	.size	wl1251_hw_init_phy_config, .-wl1251_hw_init_phy_config
	.comm	RTS_THRESHOLD_DEF,4,4
	.comm	DEFAULT_SLOT_TIME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
