	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_set_rf_sequence
_b43_nphy_set_rf_sequence:              ## @b43_nphy_set_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	xorl	%r15d, %r15d
	cmpl	$3, (%rdi)
	setge	-41(%rbp)                       ## 1-byte Folded Spill
	shll	$4, %r13d
	leal	128(%r13), %ebx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_b43_nphy_stay_in_carrier_search
LBB0_2:
	movl	$7, %edi
	movl	%r13d, %esi
	callq	_B43_NTAB8
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_b43_ntab_write_bulk
	movl	$7, %edi
	movl	%ebx, %esi
	callq	_B43_NTAB8
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_b43_ntab_write_bulk
	cmpl	$15, %r12d
	jg	LBB0_5
## %bb.3:
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r15b
	shll	$4, %r15d
	orl	$15, %r15d
	movl	$16, %ebx
	subl	%r12d, %ebx
	addl	%r12d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$7, %edi
	movl	%r13d, %esi
	callq	_B43_NTAB8
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_b43_ntab_write
	leal	128(%r13), %esi
	movl	$7, %edi
	callq	_B43_NTAB8
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_b43_ntab_write
	incl	%r13d
	decl	%ebx
	jne	LBB0_4
LBB0_5:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_nphy_stay_in_carrier_search ## TAILCALL
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43_nphy_set_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_nphy_set_rf_sequence
_b43_nphy_set_rf_sequence:              ; @b43_nphy_set_rf_sequence
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x0
	ldr	x26, [x0, #8]
	ldr	w8, [x0]
	mov	w9, #15
	mov	w10, #31
	cmp	w8, #2
	csel	w21, w10, w9, gt
	lsl	w22, w1, #4
	add	w25, w22, #128
	ldr	x8, [x26]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_b43_nphy_stay_in_carrier_search
LBB0_2:
	mov	w0, #7
	mov	x1, x22
	bl	_B43_NTAB8
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	mov	x3, x24
	bl	_b43_ntab_write_bulk
	mov	w0, #7
	mov	x1, x25
	bl	_B43_NTAB8
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	mov	x3, x23
	bl	_b43_ntab_write_bulk
	cmp	w20, #15
	b.gt	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w22, w20
	mov	w0, #7
	mov	x1, x23
	bl	_B43_NTAB8
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_b43_ntab_write
	add	w1, w23, #128
	mov	w0, #7
	bl	_B43_NTAB8
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1
	bl	_b43_ntab_write
	add	w20, w20, #1
	cmp	w20, #16
	b.ne	LBB0_3
LBB0_4:
	ldr	x8, [x26]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_b43_nphy_stay_in_carrier_search
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43_nphy_set_rf_sequence
.subsections_via_symbols
