	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5523_bss_info_changed
_ar5523_bss_info_changed:               ## @ar5523_bss_info_changed
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_ar5523_dbg
	movq	%r13, %rdi
	callq	_mutex_lock
	movq	_BSS_CHANGED_ASSOC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.1:
	cmpq	$0, (%r15)
	je	LBB0_10
## %bb.2:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_ar5523_create_connection
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_10:
	leaq	8(%r13), %rdi
	callq	_cancel_delayed_work
	movq	_AR5523_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %rsi
	callq	_clear_bit
	movq	_UATH_LED_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UATH_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_ar5523_set_ledsteady
	jmp	LBB0_11
LBB0_5:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ar5523_set_basic_rates
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_7:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ar5523_write_associd
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
LBB0_4:
	movq	%r13, %rdi
	callq	_ar5523_err
LBB0_11:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_9:
	movq	_UATH_LED_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UATH_LED_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_ar5523_set_ledsteady
	movq	_AR5523_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %rsi
	callq	_set_bit
	leaq	8(%r13), %rsi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ieee80211_queue_delayed_work
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bss_info_changed called\n"

	.comm	_BSS_CHANGED_ASSOC,4,2          ## @BSS_CHANGED_ASSOC
L_.str.1:                               ## @.str.1
	.asciz	"could not create connection\n"

L_.str.2:                               ## @.str.2
	.asciz	"could not set negotiated rate set\n"

L_.str.3:                               ## @.str.3
	.asciz	"could not set association\n"

	.comm	_UATH_LED_LINK,4,2              ## @UATH_LED_LINK
	.comm	_UATH_LED_ON,4,2                ## @UATH_LED_ON
	.comm	_AR5523_CONNECTED,4,2           ## @AR5523_CONNECTED
	.comm	_HZ,4,2                         ## @HZ
	.comm	_UATH_LED_OFF,4,2               ## @UATH_LED_OFF
	.no_dead_strip	_ar5523_bss_info_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5523_bss_info_changed
_ar5523_bss_info_changed:               ; @ar5523_bss_info_changed
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ar5523_dbg
	mov	x0, x19
	bl	_mutex_lock
Lloh2:
	adrp	x8, _BSS_CHANGED_ASSOC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BSS_CHANGED_ASSOC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_10
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_ar5523_create_connection
	cbz	w0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_4:
	add	x0, x19, #8
	bl	_cancel_delayed_work
Lloh7:
	adrp	x8, _AR5523_CONNECTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AR5523_CONNECTED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_clear_bit
Lloh10:
	adrp	x8, _UATH_LED_LINK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UATH_LED_LINK@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _UATH_LED_OFF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UATH_LED_OFF@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ar5523_set_ledsteady
	b	LBB0_10
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_ar5523_set_basic_rates
	cbz	w0, LBB0_7
; %bb.6:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_ar5523_write_associd
	cbz	w0, LBB0_11
; %bb.8:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_ar5523_err
LBB0_10:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mutex_unlock
LBB0_11:
Lloh20:
	adrp	x8, _UATH_LED_LINK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _UATH_LED_LINK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _UATH_LED_ON@GOTPAGE
Lloh24:
	ldr	x8, [x8, _UATH_LED_ON@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ar5523_set_ledsteady
Lloh26:
	adrp	x8, _AR5523_CONNECTED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AR5523_CONNECTED@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
	add	x1, x19, #8
Lloh29:
	adrp	x8, _HZ@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ieee80211_queue_delayed_work
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bss_info_changed called\n"

	.comm	_BSS_CHANGED_ASSOC,4,2          ; @BSS_CHANGED_ASSOC
l_.str.1:                               ; @.str.1
	.asciz	"could not create connection\n"

l_.str.2:                               ; @.str.2
	.asciz	"could not set negotiated rate set\n"

l_.str.3:                               ; @.str.3
	.asciz	"could not set association\n"

	.comm	_UATH_LED_LINK,4,2              ; @UATH_LED_LINK
	.comm	_UATH_LED_ON,4,2                ; @UATH_LED_ON
	.comm	_AR5523_CONNECTED,4,2           ; @AR5523_CONNECTED
	.comm	_HZ,4,2                         ; @HZ
	.comm	_UATH_LED_OFF,4,2               ; @UATH_LED_OFF
	.no_dead_strip	_ar5523_bss_info_changed
.subsections_via_symbols
