	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_stay_in_carrier_search
_b43_nphy_stay_in_carrier_search:       ## @b43_nphy_stay_in_carrier_search
	.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, %r14
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_b43_nphy_classifier
	movl	%eax, 16(%rbx)
	movq	_B43_NPHY_CLASSCTL_WAITEDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_b43_nphy_classifier
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_b43_nphy_read_clip_detection
	leaq	_b43_nphy_stay_in_carrier_search.clip(%rip), %rsi
	movq	%r14, %rdi
	callq	_b43_nphy_write_clip_detection
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_nphy_reset_cca             ## TAILCALL
LBB0_4:
	decq	%rax
	movq	%rax, (%rbx)
	je	LBB0_6
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	16(%rbx), %edx
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_b43_nphy_classifier
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_nphy_write_clip_detection  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @b43_nphy_stay_in_carrier_search.clip
_b43_nphy_stay_in_carrier_search.clip:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff

	.comm	_B43_NPHY_CLASSCTL_WAITEDEN,4,2 ## @B43_NPHY_CLASSCTL_WAITEDEN
	.no_dead_strip	_b43_nphy_stay_in_carrier_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_nphy_stay_in_carrier_search
_b43_nphy_stay_in_carrier_search:       ; @b43_nphy_stay_in_carrier_search
	.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, [x0]
	ldr	x8, [x20]
	cbz	w1, LBB0_4
; %bb.1:
	add	x9, x8, #1
	str	x9, [x20]
	cbnz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_b43_nphy_classifier
	str	w0, [x20, #16]
Lloh0:
	adrp	x8, _B43_NPHY_CLASSCTL_WAITEDEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_NPHY_CLASSCTL_WAITEDEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #7
	bl	_b43_nphy_classifier
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_b43_nphy_read_clip_detection
Lloh3:
	adrp	x1, _b43_nphy_stay_in_carrier_search.clip@PAGE
Lloh4:
	add	x1, x1, _b43_nphy_stay_in_carrier_search.clip@PAGEOFF
	mov	x0, x19
	bl	_b43_nphy_write_clip_detection
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_nphy_reset_cca
LBB0_4:
	subs	x8, x8, #1
	str	x8, [x20]
	b.eq	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w2, [x20, #16]
	mov	x0, x19
	mov	w1, #7
	bl	_b43_nphy_classifier
	ldr	x1, [x20, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_nphy_write_clip_detection
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @b43_nphy_stay_in_carrier_search.clip
_b43_nphy_stay_in_carrier_search.clip:
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff

	.comm	_B43_NPHY_CLASSCTL_WAITEDEN,4,2 ; @B43_NPHY_CLASSCTL_WAITEDEN
	.no_dead_strip	_b43_nphy_stay_in_carrier_search
.subsections_via_symbols
