	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udd_send_remotewakeup          ## -- Begin function udd_send_remotewakeup
	.p2align	4, 0x90
_udd_send_remotewakeup:                 ## @udd_send_remotewakeup
	.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
	xorl	%eax, %eax
	callq	_udd_wait_clock_ready
	movq	_UDD_STATE_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udd_sleep_mode
	movq	_usb_device@GOTPCREL(%rip), %rdi
	callq	_usb_get_state_machine_status
	cmpl	$2, %eax
	je	LBB0_4
## %bb.1:
	movl	$-4, %ebx
	movq	_usb_device@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_usb_device_send_remote_wake_up
	movq	%r14, %rdi
	callq	_usb_get_state_machine_status
	cmpl	$2, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	testl	%ebx, %ebx
	movl	%eax, %ebx
	jne	LBB0_2
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDD_STATE_IDLE,4,2             ## @UDD_STATE_IDLE
	.comm	_usb_device,4,2                 ## @usb_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udd_send_remotewakeup          ; -- Begin function udd_send_remotewakeup
	.p2align	2
_udd_send_remotewakeup:                 ; @udd_send_remotewakeup
	.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
	bl	_udd_wait_clock_ready
Lloh0:
	adrp	x8, _UDD_STATE_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UDD_STATE_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_udd_sleep_mode
Lloh3:
	adrp	x0, _usb_device@GOTPAGE
Lloh4:
	ldr	x0, [x0, _usb_device@GOTPAGEOFF]
	bl	_usb_get_state_machine_status
	cmp	w0, #2
	b.eq	LBB0_5
; %bb.1:
Lloh5:
	adrp	x19, _usb_device@GOTPAGE
Lloh6:
	ldr	x19, [x19, _usb_device@GOTPAGEOFF]
	mov	x0, x19
	bl	_usb_device_send_remote_wake_up
	mov	x0, x19
	bl	_usb_get_state_machine_status
	cmp	w0, #2
	b.eq	LBB0_5
; %bb.2:
Lloh7:
	adrp	x19, _usb_device@GOTPAGE
Lloh8:
	ldr	x19, [x19, _usb_device@GOTPAGEOFF]
	mov	x0, x19
	bl	_usb_device_send_remote_wake_up
	mov	x0, x19
	bl	_usb_get_state_machine_status
	cmp	w0, #2
	b.eq	LBB0_5
; %bb.3:
Lloh9:
	adrp	x19, _usb_device@GOTPAGE
Lloh10:
	ldr	x19, [x19, _usb_device@GOTPAGEOFF]
	mov	x0, x19
	bl	_usb_device_send_remote_wake_up
	mov	x0, x19
	bl	_usb_get_state_machine_status
	cmp	w0, #2
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x19, _usb_device@GOTPAGE
Lloh12:
	ldr	x19, [x19, _usb_device@GOTPAGEOFF]
	mov	x0, x19
	bl	_usb_device_send_remote_wake_up
	mov	x0, x19
	bl	_usb_get_state_machine_status
	cmp	w0, #2
	b.ne	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh13:
	adrp	x19, _usb_device@GOTPAGE
Lloh14:
	ldr	x19, [x19, _usb_device@GOTPAGEOFF]
	mov	x0, x19
	bl	_usb_device_send_remote_wake_up
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usb_get_state_machine_status
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_UDD_STATE_IDLE,4,2             ; @UDD_STATE_IDLE
	.comm	_usb_device,4,2                 ; @usb_device
.subsections_via_symbols
