	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl3501_get_retry
_wl3501_get_retry:                      ## @wl3501_get_retry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_WL3501_MIB_ATTR_LONG_RETRY_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_IW_RETRY_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_IW_RETRY_LIMIT@GOTPCREL(%rip), %rcx
LBB0_5:
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movl	-20(%rbp), %eax
	movl	%eax, 16(%r14)
	movq	$0, 8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_WL3501_MIB_ATTR_SHORT_RETRY_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_wl3501_get_mib_value
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_IW_RETRY_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IW_RETRY_SHORT@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_WL3501_MIB_ATTR_LONG_RETRY_LIMIT,4,2 ## @WL3501_MIB_ATTR_LONG_RETRY_LIMIT
	.comm	_IW_RETRY_LONG,4,2              ## @IW_RETRY_LONG
	.comm	_IW_RETRY_LIMIT,4,2             ## @IW_RETRY_LIMIT
	.comm	_WL3501_MIB_ATTR_SHORT_RETRY_LIMIT,4,2 ## @WL3501_MIB_ATTR_SHORT_RETRY_LIMIT
	.comm	_IW_RETRY_SHORT,4,2             ## @IW_RETRY_SHORT
	.no_dead_strip	_wl3501_get_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl3501_get_retry
_wl3501_get_retry:                      ; @wl3501_get_retry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _WL3501_MIB_ATTR_LONG_RETRY_LIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WL3501_MIB_ATTR_LONG_RETRY_LIMIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	w3, #4
	bl	_wl3501_get_mib_value
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w9, [x19]
Lloh3:
	adrp	x8, _IW_RETRY_LONG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IW_RETRY_LONG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x21, _IW_RETRY_LIMIT@GOTPAGE
Lloh7:
	ldr	x21, [x21, _IW_RETRY_LIMIT@GOTPAGEOFF]
	tst	w8, w9
	b.eq	LBB0_3
LBB0_2:
	mov	w0, #0
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [sp, #12]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _WL3501_MIB_ATTR_SHORT_RETRY_LIMIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WL3501_MIB_ATTR_SHORT_RETRY_LIMIT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #4
	bl	_wl3501_get_mib_value
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	ldr	w8, [x21]
Lloh11:
	adrp	x21, _IW_RETRY_SHORT@GOTPAGE
Lloh12:
	ldr	x21, [x21, _IW_RETRY_SHORT@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_WL3501_MIB_ATTR_LONG_RETRY_LIMIT,4,2 ; @WL3501_MIB_ATTR_LONG_RETRY_LIMIT
	.comm	_IW_RETRY_LONG,4,2              ; @IW_RETRY_LONG
	.comm	_IW_RETRY_LIMIT,4,2             ; @IW_RETRY_LIMIT
	.comm	_WL3501_MIB_ATTR_SHORT_RETRY_LIMIT,4,2 ; @WL3501_MIB_ATTR_SHORT_RETRY_LIMIT
	.comm	_IW_RETRY_SHORT,4,2             ; @IW_RETRY_SHORT
	.no_dead_strip	_wl3501_get_retry
.subsections_via_symbols
