	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udc_req_std_ep_get_status
_udc_req_std_ep_get_status:             ## @udc_req_std_ep_get_status
	.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
	cmpl	$4, (%rcx)
	jne	LBB0_5
## %bb.1:
	movzbl	4(%rcx), %edi
	callq	_udd_ep_is_halted
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_USB_EP_STATUS_HALTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CPU_TO_LE16
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	movl	%eax, _udc_req_std_ep_get_status.udc_ep_status(%rip)
	leaq	_udc_req_std_ep_get_status.udc_ep_status(%rip), %rdi
	movl	$4, %esi
	callq	_udd_set_setup_payload
	movl	$1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_udc_req_std_ep_get_status.udc_ep_status,4,2 ## @udc_req_std_ep_get_status.udc_ep_status
	.comm	_udd_g_ctrlreq,8,2              ## @udd_g_ctrlreq
	.comm	_USB_EP_STATUS_HALTED,4,2       ## @USB_EP_STATUS_HALTED
	.no_dead_strip	_udc_req_std_ep_get_status
.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_ep_get_status
_udc_req_std_ep_get_status:             ; @udc_req_std_ep_get_status
	.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	w9, [x8]
	cmp	w9, #4
	b.ne	LBB0_4
; %bb.1:
	ldrb	w0, [x8, #4]
	bl	_udd_ep_is_halted
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _USB_EP_STATUS_HALTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USB_EP_STATUS_HALTED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_CPU_TO_LE16
LBB0_3:
Lloh5:
	adrp	x8, _udc_req_std_ep_get_status.udc_ep_status@PAGE
Lloh6:
	add	x8, x8, _udc_req_std_ep_get_status.udc_ep_status@PAGEOFF
	str	w0, [x8]
	mov	x0, x8
	mov	w1, #4
	bl	_udd_set_setup_payload
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_udc_req_std_ep_get_status.udc_ep_status,4,2 ; @udc_req_std_ep_get_status.udc_ep_status
	.comm	_udd_g_ctrlreq,8,2              ; @udd_g_ctrlreq
	.comm	_USB_EP_STATUS_HALTED,4,2       ; @USB_EP_STATUS_HALTED
	.no_dead_strip	_udc_req_std_ep_get_status
.subsections_via_symbols
