	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_do_assoc
_ieee80211_do_assoc:                    ## @ieee80211_do_assoc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	16(%rdi), %r12
	callq	_lockdep_assert_held
	movq	(%r15), %rax
	movq	24(%r15), %rdx
	leaq	1(%rax), %rcx
	movq	%rcx, (%r15)
	movq	_IEEE80211_ASSOC_MAX_TRIES@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	movl	(%rdx), %edx
	cmpq	%r8, %rax
	jge	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sdata_info
	movq	%rbx, %rdi
	callq	_ieee80211_send_assoc
	movq	_IEEE80211_HW_REPORTS_TX_ACK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	testl	%eax, (%r12)
	je	LBB0_3
## %bb.4:
	movq	_IEEE80211_ASSOC_TIMEOUT_LONG@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%rsi, %rdi
	callq	_round_jiffies_up
	movq	%rax, 16(%r15)
	movl	$1, 8(%r15)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sdata_info
	movl	4(%r12), %edi
	movq	24(%r15), %rsi
	callq	_cfg80211_unlink_bss
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_3:
	movq	_IEEE80211_ASSOC_TIMEOUT@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%rsi, 16(%r15)
	movl	$1, 8(%r15)
	movq	%rbx, %rdi
LBB0_5:
	callq	_run_again
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_ASSOC_MAX_TRIES,8,3  ## @IEEE80211_ASSOC_MAX_TRIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"association with %pM timed out\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
L_.str.1:                               ## @.str.1
	.asciz	"associate with %pM (try %d/%d)\n"

	.comm	_IEEE80211_HW_REPORTS_TX_ACK_STATUS,4,2 ## @IEEE80211_HW_REPORTS_TX_ACK_STATUS
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IEEE80211_ASSOC_TIMEOUT,8,3    ## @IEEE80211_ASSOC_TIMEOUT
	.comm	_IEEE80211_ASSOC_TIMEOUT_LONG,8,3 ## @IEEE80211_ASSOC_TIMEOUT_LONG
	.no_dead_strip	_ieee80211_do_assoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_do_assoc
_ieee80211_do_assoc:                    ; @ieee80211_do_assoc
	.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, x0
	ldp	x20, x21, [x0, #8]
	bl	_lockdep_assert_held
	ldr	x10, [x20]
	add	x8, x10, #1
	str	x8, [x20]
Lloh0:
	adrp	x9, _IEEE80211_ASSOC_MAX_TRIES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_ASSOC_MAX_TRIES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x11, [x20, #24]
	ldr	w2, [x11]
	cmp	x10, x9
	b.ge	LBB0_3
; %bb.1:
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sdata_info
	mov	x0, x19
	bl	_ieee80211_send_assoc
Lloh5:
	adrp	x8, _IEEE80211_HW_REPORTS_TX_ACK_STATUS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_HW_REPORTS_TX_ACK_STATUS@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh7:
	ldr	w10, [x8]
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.2:
Lloh11:
	adrp	x9, _IEEE80211_ASSOC_TIMEOUT_LONG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IEEE80211_ASSOC_TIMEOUT_LONG@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_round_jiffies_up
	mov	x1, x0
	str	x0, [x20, #16]
	b	LBB0_5
LBB0_3:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sdata_info
	ldr	w0, [x21, #4]
	ldr	x1, [x20, #24]
	bl	_cfg80211_unlink_bss
Lloh16:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
Lloh19:
	adrp	x9, _IEEE80211_ASSOC_TIMEOUT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IEEE80211_ASSOC_TIMEOUT@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x1, x9, x8
	str	x1, [x20, #16]
LBB0_5:
	mov	w8, #1
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_run_again
	mov	w0, #0
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_ASSOC_MAX_TRIES,8,3  ; @IEEE80211_ASSOC_MAX_TRIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"association with %pM timed out\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
l_.str.1:                               ; @.str.1
	.asciz	"associate with %pM (try %d/%d)\n"

	.comm	_IEEE80211_HW_REPORTS_TX_ACK_STATUS,4,2 ; @IEEE80211_HW_REPORTS_TX_ACK_STATUS
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IEEE80211_ASSOC_TIMEOUT,8,3    ; @IEEE80211_ASSOC_TIMEOUT
	.comm	_IEEE80211_ASSOC_TIMEOUT_LONG,8,3 ; @IEEE80211_ASSOC_TIMEOUT_LONG
	.no_dead_strip	_ieee80211_do_assoc
.subsections_via_symbols
