	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_stay_in_carriersearch_nphy ## -- Begin function wlc_phy_stay_in_carriersearch_nphy
	.p2align	4, 0x90
_wlc_phy_stay_in_carriersearch_nphy:    ## @wlc_phy_stay_in_carriersearch_nphy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movabsq	$281470681808895, %rax          ## imm = 0xFFFF0000FFFF
	movq	%rax, -16(%rbp)
	movq	(%rdi), %rax
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wlc_phy_classifier_nphy
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	movl	$7, %esi
	movl	$4, %edx
	callq	_wlc_phy_classifier_nphy
	movq	16(%rbx), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wlc_phy_clip_det_nphy
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_wlc_phy_clip_det_nphy
	movq	(%rbx), %rax
LBB0_3:
	incq	%rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_wlc_phy_resetcca_nphy
	jmp	LBB0_5
LBB0_4:
	decq	%rax
	movq	%rax, (%rbx)
	je	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_wlc_phy_classifier_nphy
	movq	16(%rbx), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wlc_phy_clip_det_nphy          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_stay_in_carriersearch_nphy ; -- Begin function wlc_phy_stay_in_carriersearch_nphy
	.p2align	2
_wlc_phy_stay_in_carriersearch_nphy:    ; @wlc_phy_stay_in_carriersearch_nphy
	.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, x0
	mov	x8, #281470681808895
	str	x8, [sp, #8]
	ldr	x8, [x0]
	cbz	w1, LBB0_4
; %bb.1:
	cbnz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_wlc_phy_classifier_nphy
	str	w0, [x19, #8]
	mov	x0, x19
	mov	w1, #7
	mov	w2, #4
	bl	_wlc_phy_classifier_nphy
	ldr	x2, [x19, #16]
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_phy_clip_det_nphy
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #1
	bl	_wlc_phy_clip_det_nphy
	ldr	x8, [x19]
LBB0_3:
	add	x8, x8, #1
	str	x8, [x19]
	mov	x0, x19
	bl	_wlc_phy_resetcca_nphy
	b	LBB0_5
LBB0_4:
	subs	x8, x8, #1
	str	x8, [x19]
	b.eq	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	w1, #7
	bl	_wlc_phy_classifier_nphy
	ldr	x2, [x19, #16]
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_wlc_phy_clip_det_nphy
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
