	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_mdm6600_wake_modem
_phy_mdm6600_wake_modem:                ## @phy_mdm6600_wake_modem
	.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
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_PHY_MDM6600_MODE0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_gpiod_set_value_cansleep
	movl	$5, %edi
	movl	$15, %esi
	callq	_usleep_range
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gpiod_set_value_cansleep
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	movl	$5, %edi
	movl	$15, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_usleep_range                   ## TAILCALL
LBB0_2:
	movq	_MDM6600_MODEM_WAKE_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_msleep                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_MDM6600_MODE0,8,3          ## @PHY_MDM6600_MODE0
	.comm	_MDM6600_MODEM_WAKE_DELAY_MS,4,2 ## @MDM6600_MODEM_WAKE_DELAY_MS
	.no_dead_strip	_phy_mdm6600_wake_modem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_mdm6600_wake_modem
_phy_mdm6600_wake_modem:                ; @phy_mdm6600_wake_modem
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PHY_MDM6600_MODE0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_MDM6600_MODE0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x20, [x8, x9, lsl #3]
	mov	x0, x20
	mov	w1, #1
	bl	_gpiod_set_value_cansleep
	mov	w0, #5
	mov	w1, #15
	bl	_usleep_range
	mov	x0, x20
	mov	w1, #0
	bl	_gpiod_set_value_cansleep
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #5
	mov	w1, #15
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usleep_range
LBB0_2:
Lloh3:
	adrp	x8, _MDM6600_MODEM_WAKE_DELAY_MS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDM6600_MODEM_WAKE_DELAY_MS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_msleep
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_MDM6600_MODE0,8,3          ; @PHY_MDM6600_MODE0
	.comm	_MDM6600_MODEM_WAKE_DELAY_MS,4,2 ; @MDM6600_MODEM_WAKE_DELAY_MS
	.no_dead_strip	_phy_mdm6600_wake_modem
.subsections_via_symbols
