	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism54_get_retry
_prism54_get_retry:                     ## @prism54_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, %rbx
	callq	_netdev_priv
	movq	$0, 8(%rbx)
	movl	(%rbx), %ecx
	movq	_IW_RETRY_TYPE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	movq	_IW_RETRY_LIFETIME@GOTPCREL(%rip), %r14
	cmpl	(%r14), %edx
	jne	LBB0_2
## %bb.1:
	movq	_DOT11_OID_MAXTXLIFETIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-24(%rbp), %r8
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mgt_get_request
	movl	-24(%rbp), %ecx
	shll	$10, %ecx
	movl	%ecx, 4(%rbx)
	movl	(%r14), %ecx
	jmp	LBB0_6
LBB0_2:
	movq	_IW_RETRY_LONG@GOTPCREL(%rip), %r14
	testl	%ecx, (%r14)
	je	LBB0_4
## %bb.3:
	movq	_DOT11_OID_LONGRETRIES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-24(%rbp), %r8
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mgt_get_request
	movl	-24(%rbp), %ecx
	movl	%ecx, 4(%rbx)
	movq	_IW_RETRY_LIMIT@GOTPCREL(%rip), %rdx
	movl	(%r14), %ecx
	jmp	LBB0_5
LBB0_4:
	movq	_DOT11_OID_SHORTRETRIES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-24(%rbp), %r8
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mgt_get_request
	movl	-24(%rbp), %ecx
	movl	%ecx, 4(%rbx)
	movq	_IW_RETRY_LIMIT@GOTPCREL(%rip), %rdx
	movq	_IW_RETRY_SHORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
	orl	(%rdx), %ecx
LBB0_6:
	movl	%ecx, (%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_RETRY_TYPE,4,2              ## @IW_RETRY_TYPE
	.comm	_IW_RETRY_LIFETIME,4,2          ## @IW_RETRY_LIFETIME
	.comm	_DOT11_OID_MAXTXLIFETIME,4,2    ## @DOT11_OID_MAXTXLIFETIME
	.comm	_IW_RETRY_LONG,4,2              ## @IW_RETRY_LONG
	.comm	_DOT11_OID_LONGRETRIES,4,2      ## @DOT11_OID_LONGRETRIES
	.comm	_IW_RETRY_LIMIT,4,2             ## @IW_RETRY_LIMIT
	.comm	_DOT11_OID_SHORTRETRIES,4,2     ## @DOT11_OID_SHORTRETRIES
	.comm	_IW_RETRY_SHORT,4,2             ## @IW_RETRY_SHORT
	.no_dead_strip	_prism54_get_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism54_get_retry
_prism54_get_retry:                     ; @prism54_get_retry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_netdev_priv
	str	xzr, [x19, #8]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IW_RETRY_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IW_RETRY_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x20, _IW_RETRY_LIFETIME@GOTPAGE
Lloh4:
	ldr	x20, [x20, _IW_RETRY_LIFETIME@GOTPAGEOFF]
	ldr	w10, [x20]
	cmp	w9, w10
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _DOT11_OID_MAXTXLIFETIME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DOT11_OID_MAXTXLIFETIME@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	w2, #0
	mov	x3, #0
	bl	_mgt_get_request
	ldr	w8, [sp, #8]
	lsl	w8, w8, #10
	str	w8, [x19, #4]
	ldr	w8, [x20]
	b	LBB0_6
LBB0_2:
Lloh8:
	adrp	x20, _IW_RETRY_LONG@GOTPAGE
Lloh9:
	ldr	x20, [x20, _IW_RETRY_LONG@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _DOT11_OID_LONGRETRIES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DOT11_OID_LONGRETRIES@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	w2, #0
	mov	x3, #0
	bl	_mgt_get_request
	ldr	w8, [sp, #8]
	str	w8, [x19, #4]
Lloh13:
	adrp	x8, _IW_RETRY_LIMIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IW_RETRY_LIMIT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x20]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _DOT11_OID_SHORTRETRIES@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DOT11_OID_SHORTRETRIES@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	w2, #0
	mov	x3, #0
	bl	_mgt_get_request
	ldr	w8, [sp, #8]
Lloh19:
	adrp	x9, _IW_RETRY_LIMIT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IW_RETRY_LIMIT@GOTPAGEOFF]
	str	w8, [x19, #4]
Lloh21:
	ldr	w8, [x9]
Lloh22:
	adrp	x9, _IW_RETRY_SHORT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IW_RETRY_SHORT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
LBB0_5:
	orr	w8, w9, w8
LBB0_6:
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_RETRY_TYPE,4,2              ; @IW_RETRY_TYPE
	.comm	_IW_RETRY_LIFETIME,4,2          ; @IW_RETRY_LIFETIME
	.comm	_DOT11_OID_MAXTXLIFETIME,4,2    ; @DOT11_OID_MAXTXLIFETIME
	.comm	_IW_RETRY_LONG,4,2              ; @IW_RETRY_LONG
	.comm	_DOT11_OID_LONGRETRIES,4,2      ; @DOT11_OID_LONGRETRIES
	.comm	_IW_RETRY_LIMIT,4,2             ; @IW_RETRY_LIMIT
	.comm	_DOT11_OID_SHORTRETRIES,4,2     ; @DOT11_OID_SHORTRETRIES
	.comm	_IW_RETRY_SHORT,4,2             ; @IW_RETRY_SHORT
	.no_dead_strip	_prism54_get_retry
.subsections_via_symbols
