	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udc_req_std_dev_clear_feature
_udc_req_std_dev_clear_feature:         ## @udc_req_std_dev_clear_feature
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_udd_g_ctrlreq@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, 8(%rcx)
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	movq	(%rcx), %rcx
	movq	_USB_DEV_FEATURE_REMOTE_WAKEUP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	_USB_DEV_STATUS_REMOTEWAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	callq	_CPU_TO_LE16
	movq	_udc_device_status@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_UDC_REMOTEWAKEUP_DISABLE
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_udd_g_ctrlreq,16,3             ## @udd_g_ctrlreq
	.comm	_USB_DEV_FEATURE_REMOTE_WAKEUP,8,3 ## @USB_DEV_FEATURE_REMOTE_WAKEUP
	.comm	_USB_DEV_STATUS_REMOTEWAKEUP,8,3 ## @USB_DEV_STATUS_REMOTEWAKEUP
	.comm	_udc_device_status,4,2          ## @udc_device_status
	.no_dead_strip	_udc_req_std_dev_clear_feature
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udc_req_std_dev_clear_feature
_udc_req_std_dev_clear_feature:         ; @udc_req_std_dev_clear_feature
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _udd_g_ctrlreq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _udd_g_ctrlreq@GOTPAGEOFF]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_3
; %bb.1:
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _USB_DEV_FEATURE_REMOTE_WAKEUP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _USB_DEV_FEATURE_REMOTE_WAKEUP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _USB_DEV_STATUS_REMOTEWAKEUP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USB_DEV_STATUS_REMOTEWAKEUP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mvn	w0, w8
	bl	_CPU_TO_LE16
Lloh8:
	adrp	x8, _udc_device_status@GOTPAGE
Lloh9:
	ldr	x8, [x8, _udc_device_status@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, w0
	str	w9, [x8]
	bl	_UDC_REMOTEWAKEUP_DISABLE
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_udd_g_ctrlreq,16,3             ; @udd_g_ctrlreq
	.comm	_USB_DEV_FEATURE_REMOTE_WAKEUP,8,3 ; @USB_DEV_FEATURE_REMOTE_WAKEUP
	.comm	_USB_DEV_STATUS_REMOTEWAKEUP,8,3 ; @USB_DEV_STATUS_REMOTEWAKEUP
	.comm	_udc_device_status,4,2          ; @udc_device_status
	.no_dead_strip	_udc_req_std_dev_clear_feature
.subsections_via_symbols
