	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_manage_ibss_station
_il3945_manage_ibss_station:            ## @il3945_manage_ibss_station
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rsi), %r14
	testl	%edx, %edx
	je	LBB0_7
## %bb.1:
	movl	(%rsi), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_il3945_add_bssid_station
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	(%r14), %esi
	movq	(%rbx), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_RATE_6M_PLCP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movl	(%r14), %eax
	movl	(%rsi), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_il_remove_station              ## TAILCALL
LBB0_3:
	movq	_RATE_1M_PLCP@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_il3945_sync_sta
	movl	8(%rbx), %edi
	movl	(%r14), %esi
	callq	_il3945_rate_scale_init
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_RATE_6M_PLCP,4,2               ## @RATE_6M_PLCP
	.comm	_RATE_1M_PLCP,4,2               ## @RATE_1M_PLCP
	.no_dead_strip	_il3945_manage_ibss_station
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_manage_ibss_station
_il3945_manage_ibss_station:            ; @il3945_manage_ibss_station
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x1, #8]
	cbz	w2, LBB0_4
; %bb.1:
	ldr	w1, [x1]
	mov	x0, x19
	mov	x2, x20
	bl	_il3945_add_bssid_station
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w1, [x20]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh2:
	adrp	x10, _RATE_6M_PLCP@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RATE_6M_PLCP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _RATE_1M_PLCP@GOTPAGE
Lloh6:
	ldr	x11, [x11, _RATE_1M_PLCP@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_il3945_sync_sta
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
	bl	_il3945_rate_scale_init
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x20]
	ldr	w2, [x1]
	mov	x0, x19
	mov	x1, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_il_remove_station
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_RATE_6M_PLCP,4,2               ; @RATE_6M_PLCP
	.comm	_RATE_1M_PLCP,4,2               ; @RATE_1M_PLCP
	.no_dead_strip	_il3945_manage_ibss_station
.subsections_via_symbols
