	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_set_rfseq_nphy
_wlc_phy_set_rfseq_nphy:                ## @wlc_phy_set_rfseq_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_NPHY_RFSEQ_CMD_END@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_NPHY_REV3_RFSEQ_CMD_END@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$1, -44(%rbp)
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_wlc_phy_stay_in_carriersearch_nphy
LBB0_5:
	shll	$4, %ebx
	movq	_NPHY_TBL_ID_RFSEQ@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	$8, %r8d
	movq	%r15, %r9
	callq	_wlc_phy_table_write_nphy
	leal	128(%rbx), %ecx
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	$8, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_wlc_phy_table_write_nphy
	cmpl	$15, %r12d
	jg	LBB0_8
## %bb.6:
	movl	$16, %r15d
	subl	%r12d, %r15d
	addl	%r12d, %ebx
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	%ebx, %ecx
	movl	$8, %r8d
	leaq	-48(%rbp), %r9
	callq	_wlc_phy_table_write_nphy
	movl	(%r13), %esi
	leal	128(%rbx), %ecx
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$8, %r8d
	movq	%r12, %r9
	callq	_wlc_phy_table_write_nphy
	incl	%ebx
	decl	%r15d
	jne	LBB0_7
LBB0_8:
	cmpq	$0, (%r14)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_wlc_phy_stay_in_carriersearch_nphy
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPHY_REV3_RFSEQ_CMD_END,4,2    ## @NPHY_REV3_RFSEQ_CMD_END
	.comm	_NPHY_RFSEQ_CMD_END,4,2         ## @NPHY_RFSEQ_CMD_END
	.comm	_NPHY_TBL_ID_RFSEQ,4,2          ## @NPHY_TBL_ID_RFSEQ
	.no_dead_strip	_wlc_phy_set_rfseq_nphy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_set_rfseq_nphy
_wlc_phy_set_rfseq_nphy:                ; @wlc_phy_set_rfseq_nphy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	mov	w1, #3
	bl	_NREV_GE
Lloh0:
	adrp	x8, _NPHY_REV3_RFSEQ_CMD_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPHY_REV3_RFSEQ_CMD_END@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NPHY_RFSEQ_CMD_END@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NPHY_RFSEQ_CMD_END@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w9, [x8]
	mov	w8, #1
	stp	w8, w9, [sp, #8]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_wlc_phy_stay_in_carriersearch_nphy
LBB0_2:
	lsl	w21, w21, #4
Lloh4:
	adrp	x24, _NPHY_TBL_ID_RFSEQ@GOTPAGE
Lloh5:
	ldr	x24, [x24, _NPHY_TBL_ID_RFSEQ@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #8
	mov	x5, x23
	bl	_wlc_phy_table_write_nphy
	add	w3, w21, #128
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	mov	w4, #8
	mov	x5, x22
	bl	_wlc_phy_table_write_nphy
	cmp	w20, #15
	b.gt	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	add	w22, w21, w20
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	x3, x22
	mov	w4, #8
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x24]
	add	w3, w22, #128
	add	x5, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w4, #8
	bl	_wlc_phy_table_write_nphy
	add	w20, w20, #1
	cmp	w20, #16
	b.ne	LBB0_3
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_phy_stay_in_carriersearch_nphy
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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NPHY_REV3_RFSEQ_CMD_END,4,2    ; @NPHY_REV3_RFSEQ_CMD_END
	.comm	_NPHY_RFSEQ_CMD_END,4,2         ; @NPHY_RFSEQ_CMD_END
	.comm	_NPHY_TBL_ID_RFSEQ,4,2          ; @NPHY_TBL_ID_RFSEQ
	.no_dead_strip	_wlc_phy_set_rfseq_nphy
.subsections_via_symbols
