	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_timercb_phycal
_wlc_phy_timercb_phycal:                ## @wlc_phy_timercb_phycal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_PHY_PERICAL_MPHASE_PENDING
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	8(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.2:
	movq	%rbx, %rdi
	callq	_SCAN_RM_IN_PROGRESS
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_PLT_INPROG_PHY
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_wlc_phy_cal_perical_mphase_restart
	movl	$1000, %esi                     ## imm = 0x3E8
LBB0_6:
	movl	(%rbx), %edi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wlapi_add_timer                ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wlc_phy_cal_perical_mphase_reset ## TAILCALL
LBB0_5:
	movq	_PHY_PERICAL_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wlc_phy_cal_perical_nphy_run
	movl	$5, %esi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_PERICAL_AUTO,4,2           ## @PHY_PERICAL_AUTO
	.no_dead_strip	_wlc_phy_timercb_phycal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_timercb_phycal
_wlc_phy_timercb_phycal:                ; @wlc_phy_timercb_phycal
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_PHY_PERICAL_MPHASE_PENDING
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_SCAN_RM_IN_PROGRESS
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_PLT_INPROG_PHY
	cbz	x0, LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_wlc_phy_cal_perical_mphase_restart
	mov	w1, #1000
LBB0_5:
	ldr	w0, [x19]
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wlapi_add_timer
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wlc_phy_cal_perical_mphase_reset
LBB0_8:
Lloh0:
	adrp	x8, _PHY_PERICAL_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_PERICAL_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wlc_phy_cal_perical_nphy_run
	mov	w1, #5
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_PERICAL_AUTO,4,2           ; @PHY_PERICAL_AUTO
	.no_dead_strip	_wlc_phy_timercb_phycal
.subsections_via_symbols
