	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udd_ctrl_overflow
_udd_ctrl_overflow:                     ## @udd_ctrl_overflow
	.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_EPCTRL_DATA_IN@GOTPCREL(%rip), %rdx
	movq	_udd_ep_control_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, (%rdx)
	jne	LBB0_2
## %bb.1:
	movq	_UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	popq	%rbp
	retq
LBB0_2:
	movq	_UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_3
## %bb.4:
	movl	(%rdi), %esi
	movq	_usb_device@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_usb_device_endpoint_set_halt   ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDD_EPCTRL_DATA_IN,8,3         ## @UDD_EPCTRL_DATA_IN
	.comm	_udd_ep_control_state,8,3       ## @udd_ep_control_state
	.comm	_UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP,8,3 ## @UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP
	.comm	_UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP,8,3 ## @UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP
	.comm	_usb_device,4,2                 ## @usb_device
	.no_dead_strip	_udd_ctrl_overflow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udd_ctrl_overflow
_udd_ctrl_overflow:                     ; @udd_ctrl_overflow
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _UDD_EPCTRL_DATA_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UDD_EPCTRL_DATA_IN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _udd_ep_control_state@GOTPAGE
Lloh4:
	ldr	x8, [x8, _udd_ep_control_state@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	str	x9, [x8]
	ret
LBB0_2:
Lloh8:
	adrp	x8, _UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x0]
Lloh11:
	adrp	x0, _usb_device@GOTPAGE
Lloh12:
	ldr	x0, [x0, _usb_device@GOTPAGEOFF]
	b	_usb_device_endpoint_set_halt
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UDD_EPCTRL_DATA_IN,8,3         ; @UDD_EPCTRL_DATA_IN
	.comm	_udd_ep_control_state,8,3       ; @udd_ep_control_state
	.comm	_UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP,8,3 ; @UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP
	.comm	_UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP,8,3 ; @UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP
	.comm	_usb_device,4,2                 ; @usb_device
	.no_dead_strip	_udd_ctrl_overflow
.subsections_via_symbols
