	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_stop_playback
_b43_nphy_stop_playback:                ## @b43_nphy_stop_playback
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_b43_nphy_stay_in_carrier_search
LBB0_2:
	movq	_B43_NPHY_SAMP_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_b43_phy_read
	testb	$1, %al
	jne	LBB0_3
## %bb.4:
	testb	$2, %al
	je	LBB0_6
## %bb.5:
	movq	_B43_NPHY_IQLOCAL_CMDGCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$32767, %edx                    ## imm = 0x7FFF
	callq	_b43_phy_mask
	jmp	LBB0_6
LBB0_3:
	movq	_B43_NPHY_SAMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_B43_NPHY_SAMP_CMD_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_set
LBB0_6:
	movq	_B43_NPHY_SAMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-5, %edx
	callq	_b43_phy_mask
	movl	(%r15), %eax
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	movzwl	%ax, %r14d
	movl	$15, %edi
	movl	$87, %esi
	callq	_B43_NTAB16
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_b43_ntab_write
	movl	$0, (%r15)
LBB0_8:
	movl	(%rbx), %eax
	cmpl	$7, %eax
	jl	LBB0_14
## %bb.9:
	cmpl	$0, 4(%r15)
	je	LBB0_14
## %bb.10:
	movq	%rbx, %rdi
	movl	$128, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	cmpl	$19, %eax
	jb	LBB0_12
## %bb.11:
	callq	_b43_nphy_rf_ctl_override_rev19
	jmp	LBB0_13
LBB0_12:
	callq	_b43_nphy_rf_ctl_override_rev7
LBB0_13:
	movl	$0, 4(%r15)
LBB0_14:
	cmpq	$0, 8(%r15)
	je	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_nphy_stay_in_carrier_search ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_NPHY_SAMP_STAT,4,2         ## @B43_NPHY_SAMP_STAT
	.comm	_B43_NPHY_SAMP_CMD,4,2          ## @B43_NPHY_SAMP_CMD
	.comm	_B43_NPHY_SAMP_CMD_STOP,4,2     ## @B43_NPHY_SAMP_CMD_STOP
	.comm	_B43_NPHY_IQLOCAL_CMDGCTL,4,2   ## @B43_NPHY_IQLOCAL_CMDGCTL
	.no_dead_strip	_b43_nphy_stop_playback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_nphy_stop_playback
_b43_nphy_stop_playback:                ; @b43_nphy_stop_playback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_b43_nphy_stay_in_carrier_search
LBB0_2:
Lloh0:
	adrp	x8, _B43_NPHY_SAMP_STAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_NPHY_SAMP_STAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
Lloh3:
	adrp	x20, _B43_NPHY_SAMP_CMD@GOTPAGE
Lloh4:
	ldr	x20, [x20, _B43_NPHY_SAMP_CMD@GOTPAGEOFF]
	tbnz	w0, #0, LBB0_5
; %bb.3:
	tbz	w0, #1, LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _B43_NPHY_IQLOCAL_CMDGCTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B43_NPHY_IQLOCAL_CMDGCTL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #32767
	bl	_b43_phy_mask
	b	LBB0_6
LBB0_5:
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _B43_NPHY_SAMP_CMD_STOP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_NPHY_SAMP_CMD_STOP@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_b43_phy_set
LBB0_6:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #-5
	bl	_b43_phy_mask
	ldr	w8, [x21]
	tbz	w8, #31, LBB0_8
; %bb.7:
	and	w20, w8, #0xffff
	mov	w0, #15
	mov	w1, #87
	bl	_B43_NTAB16
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_b43_ntab_write
	str	wzr, [x21]
LBB0_8:
	ldr	w8, [x19]
	cmp	w8, #7
	b.lt	LBB0_14
; %bb.9:
	ldr	w9, [x21, #4]
	cbz	w9, LBB0_14
; %bb.10:
	mov	x0, x19
	mov	w1, #128
	cmp	w8, #19
	b.lo	LBB0_12
; %bb.11:
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_b43_nphy_rf_ctl_override_rev19
	b	LBB0_13
LBB0_12:
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_b43_nphy_rf_ctl_override_rev7
LBB0_13:
	str	wzr, [x21, #4]
LBB0_14:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_b43_nphy_stay_in_carrier_search
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_NPHY_SAMP_STAT,4,2         ; @B43_NPHY_SAMP_STAT
	.comm	_B43_NPHY_SAMP_CMD,4,2          ; @B43_NPHY_SAMP_CMD
	.comm	_B43_NPHY_SAMP_CMD_STOP,4,2     ; @B43_NPHY_SAMP_CMD_STOP
	.comm	_B43_NPHY_IQLOCAL_CMDGCTL,4,2   ; @B43_NPHY_IQLOCAL_CMDGCTL
	.no_dead_strip	_b43_nphy_stop_playback
.subsections_via_symbols
