	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function awusbphy_configure
_awusbphy_configure:                    ## @awusbphy_configure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_device_get_softc
	movq	%rax, %rbx
	movq	(%rax), %rax
	movslq	%r14d, %r14
	movq	(%rax,%r14,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	cmpl	$1, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_PMU_UNK_H3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PMU_UNK_H3_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CLR4
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
LBB0_3:
	movq	_PMU_ULPI_BYPASS@GOTPCREL(%rip), %rax
	movq	_PMU_AHB_INCR8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PMU_IRQ_ENABLE@GOTPCREL(%rip), %rax
	movq	_PMU_AHB_INCR4@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PMU_AHB_INCRX_ALIGN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SET4                           ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMU_UNK_H3,4,2                 ## @PMU_UNK_H3
	.comm	_PMU_UNK_H3_CLR,4,2             ## @PMU_UNK_H3_CLR
	.comm	_PMU_IRQ_ENABLE,4,2             ## @PMU_IRQ_ENABLE
	.comm	_PMU_ULPI_BYPASS,4,2            ## @PMU_ULPI_BYPASS
	.comm	_PMU_AHB_INCR8,4,2              ## @PMU_AHB_INCR8
	.comm	_PMU_AHB_INCR4,4,2              ## @PMU_AHB_INCR4
	.comm	_PMU_AHB_INCRX_ALIGN,4,2        ## @PMU_AHB_INCRX_ALIGN
	.no_dead_strip	_awusbphy_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function awusbphy_configure
_awusbphy_configure:                    ; @awusbphy_configure
	.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	x20, x1
	bl	_device_get_softc
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x0, [x8, w20, sxtw #3]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.2:
	sxtw	x20, w20
Lloh0:
	adrp	x8, _PMU_UNK_H3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMU_UNK_H3@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _PMU_UNK_H3_CLR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMU_UNK_H3_CLR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_CLR4
	ldr	x8, [x19]
	ldr	x0, [x8, x20, lsl #3]
LBB0_3:
Lloh6:
	adrp	x8, _PMU_IRQ_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PMU_IRQ_ENABLE@GOTPAGEOFF]
Lloh8:
	adrp	x9, _PMU_ULPI_BYPASS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PMU_ULPI_BYPASS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _PMU_AHB_INCR8@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PMU_AHB_INCR8@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh14:
	adrp	x10, _PMU_AHB_INCR4@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PMU_AHB_INCR4@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh17:
	adrp	x10, _PMU_AHB_INCRX_ALIGN@GOTPAGE
Lloh18:
	ldr	x10, [x10, _PMU_AHB_INCRX_ALIGN@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	ldr	w8, [x10]
	orr	w2, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SET4
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PMU_UNK_H3,4,2                 ; @PMU_UNK_H3
	.comm	_PMU_UNK_H3_CLR,4,2             ; @PMU_UNK_H3_CLR
	.comm	_PMU_IRQ_ENABLE,4,2             ; @PMU_IRQ_ENABLE
	.comm	_PMU_ULPI_BYPASS,4,2            ; @PMU_ULPI_BYPASS
	.comm	_PMU_AHB_INCR8,4,2              ; @PMU_AHB_INCR8
	.comm	_PMU_AHB_INCR4,4,2              ; @PMU_AHB_INCR4
	.comm	_PMU_AHB_INCRX_ALIGN,4,2        ; @PMU_AHB_INCRX_ALIGN
	.no_dead_strip	_awusbphy_configure
.subsections_via_symbols
