	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_phy_ht_force_rf_sequence
_b43_phy_ht_force_rf_sequence:          ## @b43_phy_ht_force_rf_sequence
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_B43_PHY_HT_RF_SEQ_MODE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_b43_phy_read
	movl	%eax, %r14d
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$3, %edx
	callq	_b43_phy_set
	movq	_B43_PHY_HT_RF_SEQ_TRIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_b43_phy_set
	movl	$200, %ebx
	movq	_B43_PHY_HT_RF_SEQ_STATUS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	testl	%r15d, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	callq	_msleep
	decl	%ebx
	jne	LBB0_1
## %bb.3:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43err
LBB0_4:
	movq	_B43_PHY_HT_RF_SEQ_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_HT_RF_SEQ_MODE,4,2     ## @B43_PHY_HT_RF_SEQ_MODE
	.comm	_B43_PHY_HT_RF_SEQ_TRIG,4,2     ## @B43_PHY_HT_RF_SEQ_TRIG
	.comm	_B43_PHY_HT_RF_SEQ_STATUS,4,2   ## @B43_PHY_HT_RF_SEQ_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Forcing RF sequence timeout\n"

	.no_dead_strip	_b43_phy_ht_force_rf_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_phy_ht_force_rf_sequence
_b43_phy_ht_force_rf_sequence:          ; @b43_phy_ht_force_rf_sequence
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _B43_PHY_HT_RF_SEQ_MODE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B43_PHY_HT_RF_SEQ_MODE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_b43_phy_read
	mov	x20, x0
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #3
	bl	_b43_phy_set
Lloh2:
	adrp	x8, _B43_PHY_HT_RF_SEQ_TRIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B43_PHY_HT_RF_SEQ_TRIG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_b43_phy_set
	mov	w23, #200
Lloh5:
	adrp	x24, _B43_PHY_HT_RF_SEQ_STATUS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _B43_PHY_HT_RF_SEQ_STATUS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_b43_phy_read
	tst	w0, w21
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	bl	_msleep
	subs	w23, w23, #1
	b.ne	LBB0_1
; %bb.3:
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43err
LBB0_4:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b43_phy_write
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_HT_RF_SEQ_MODE,4,2     ; @B43_PHY_HT_RF_SEQ_MODE
	.comm	_B43_PHY_HT_RF_SEQ_TRIG,4,2     ; @B43_PHY_HT_RF_SEQ_TRIG
	.comm	_B43_PHY_HT_RF_SEQ_STATUS,4,2   ; @B43_PHY_HT_RF_SEQ_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Forcing RF sequence timeout\n"

	.no_dead_strip	_b43_phy_ht_force_rf_sequence
.subsections_via_symbols
