	.file	"extr_if_bwn_phy_n_core.c_bwn_nphy_stop_playback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bwn_nphy_stop_playback, @function
bwn_nphy_stop_playback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 8[rdi]
	cmp	QWORD PTR 8[rbx], 0
	jne	.L15
.L2:
	mov	esi, DWORD PTR BWN_NPHY_SAMP_STAT[rip]
	mov	rdi, rbp
	call	BWN_PHY_READ@PLT
	test	al, 1
	jne	.L16
	test	al, 2
	jne	.L17
.L4:
	mov	esi, DWORD PTR BWN_NPHY_SAMP_CMD[rip]
	mov	edx, -5
	mov	rdi, rbp
	call	BWN_PHY_MASK@PLT
	mov	r12d, DWORD PTR [rbx]
	test	r12d, r12d
	js	.L18
.L5:
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 6
	jle	.L6
	mov	edx, DWORD PTR 4[rbx]
	test	edx, edx
	jne	.L19
.L6:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L20
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	r9d, 1
	mov	r8d, 1
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, 128
	mov	rdi, rbp
	cmp	eax, 18
	jg	.L21
	call	bwn_nphy_rf_ctl_override_rev7@PLT
.L8:
	cmp	QWORD PTR 8[rbx], 0
	mov	DWORD PTR 4[rbx], 0
	je	.L1
.L20:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	bwn_nphy_stay_in_carrier_search@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	esi, DWORD PTR BWN_NPHY_IQLOCAL_CMDGCTL[rip]
	mov	edx, 32767
	mov	rdi, rbp
	call	BWN_PHY_MASK@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR BWN_NPHY_SAMP_CMD_STOP[rip]
	mov	esi, DWORD PTR BWN_NPHY_SAMP_CMD[rip]
	mov	rdi, rbp
	call	BWN_PHY_SET@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, 1
	call	bwn_nphy_stay_in_carrier_search@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	mov	esi, 87
	mov	edi, 15
	call	BWN_NTAB16@PLT
	movzx	edx, r12w
	mov	rdi, rbp
	mov	esi, eax
	call	bwn_ntab_write@PLT
	mov	DWORD PTR [rbx], 0
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	call	bwn_nphy_rf_ctl_override_rev19@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	bwn_nphy_stop_playback, .-bwn_nphy_stop_playback
	.comm	BWN_NPHY_SAMP_STAT,4,4
	.comm	BWN_NPHY_SAMP_CMD_STOP,4,4
	.comm	BWN_NPHY_SAMP_CMD,4,4
	.comm	BWN_NPHY_IQLOCAL_CMDGCTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_if_bwn_phy_n_core.c_bwn_nphy_stop_playback.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bwn_nphy_stop_playback, %function
bwn_nphy_stop_playback:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0, #4]
	mov	r4, r0
	ldr	r3, [r5, #8]
	sub	sp, sp, #8
	cmp	r3, #0
	bne	.L22
.L2:
	ldr	r3, .L28
	mov	r0, r4
	ldr	r1, [r3]
	bl	BWN_PHY_READ
	tst	r0, #1
	bne	.L23
	tst	r0, #2
	bne	.L18
.L20:
	ldr	r6, .L28+4
.L4:
	ldr	r1, [r6]
	mvn	r2, #4
	mov	r0, r4
	bl	BWN_PHY_MASK
	ldr	r6, [r5]
	cmp	r6, #0
	blt	.L24
.L5:
	ldr	r3, [r4]
	cmp	r3, #6
	ble	.L6
	ldr	r2, [r5, #4]
	cmp	r2, #0
	bne	.L25
.L6:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L26
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L25:
	mov	r2, #1
	cmp	r3, #18
	mov	r3, #0
	str	r2, [sp, #4]
	str	r2, [sp]
	mov	r1, #128
	mov	r2, r3
	mov	r0, r4
	bgt	.L27
	bl	bwn_nphy_rf_ctl_override_rev7
.L8:
	mov	r3, #0
	str	r3, [r5, #4]
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L1
.L26:
	mov	r0, r4
	mov	r1, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	bwn_nphy_stay_in_carrier_search
.L18:
	ldr	r3, .L28+8
	mov	r0, r4
	ldr	r2, .L28+12
	ldr	r1, [r3]
	bl	BWN_PHY_MASK
	b	.L20
.L23:
	ldr	r3, .L28+16
	ldr	r6, .L28+4
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r1, [r6]
	bl	BWN_PHY_SET
	b	.L4
.L22:
	mov	r1, #1
	bl	bwn_nphy_stay_in_carrier_search
	b	.L2
.L24:
	mov	r1, #87
	mov	r0, #15
	bl	BWN_NTAB16
	lsl	r2, r6, #16
	mov	r1, r0
	lsr	r2, r2, #16
	mov	r0, r4
	bl	bwn_ntab_write
	mov	r3, #0
	str	r3, [r5]
	b	.L5
.L27:
	bl	bwn_nphy_rf_ctl_override_rev19
	b	.L8
.L29:
	.align	2
.L28:
	.word	BWN_NPHY_SAMP_STAT
	.word	BWN_NPHY_SAMP_CMD
	.word	BWN_NPHY_IQLOCAL_CMDGCTL
	.word	32767
	.word	BWN_NPHY_SAMP_CMD_STOP
	.size	bwn_nphy_stop_playback, .-bwn_nphy_stop_playback
	.comm	BWN_NPHY_SAMP_STAT,4,4
	.comm	BWN_NPHY_SAMP_CMD_STOP,4,4
	.comm	BWN_NPHY_SAMP_CMD,4,4
	.comm	BWN_NPHY_IQLOCAL_CMDGCTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
