	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_device_endpoint_set_halt   ## -- Begin function usb_device_endpoint_set_halt
	.p2align	4, 0x90
_usb_device_endpoint_set_halt:          ## @usb_device_endpoint_set_halt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_USB_EP_ADDR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	cltq
	movq	_USB_EP_DIR_IN@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	jne	LBB0_1
## %bb.2:
	movq	_USB_DEVICE_EPSTATUSSET_STALLRQ0@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_USB_DEVICE_EPSTATUSSET_STALLRQ1@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movq	(%rdi), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rdx,%rax,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_EP_ADDR_MASK,4,2           ## @USB_EP_ADDR_MASK
	.comm	_USB_EP_DIR_IN,4,2              ## @USB_EP_DIR_IN
	.comm	_USB_DEVICE_EPSTATUSSET_STALLRQ1,4,2 ## @USB_DEVICE_EPSTATUSSET_STALLRQ1
	.comm	_USB_DEVICE_EPSTATUSSET_STALLRQ0,4,2 ## @USB_DEVICE_EPSTATUSSET_STALLRQ0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_device_endpoint_set_halt   ; -- Begin function usb_device_endpoint_set_halt
	.p2align	2
_usb_device_endpoint_set_halt:          ; @usb_device_endpoint_set_halt
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _USB_EP_ADDR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_EP_ADDR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _USB_EP_DIR_IN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USB_EP_DIR_IN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _USB_DEVICE_EPSTATUSSET_STALLRQ0@GOTPAGE
Lloh7:
	ldr	x10, [x10, _USB_DEVICE_EPSTATUSSET_STALLRQ0@GOTPAGEOFF]
Lloh8:
	adrp	x11, _USB_DEVICE_EPSTATUSSET_STALLRQ1@GOTPAGE
Lloh9:
	ldr	x11, [x11, _USB_DEVICE_EPSTATUSSET_STALLRQ1@GOTPAGEOFF]
	tst	w9, w1
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	ldr	x10, [x0]
	ldr	x10, [x10]
	str	w9, [x10, w8, sxtw #2]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_EP_ADDR_MASK,4,2           ; @USB_EP_ADDR_MASK
	.comm	_USB_EP_DIR_IN,4,2              ; @USB_EP_DIR_IN
	.comm	_USB_DEVICE_EPSTATUSSET_STALLRQ1,4,2 ; @USB_DEVICE_EPSTATUSSET_STALLRQ1
	.comm	_USB_DEVICE_EPSTATUSSET_STALLRQ0,4,2 ; @USB_DEVICE_EPSTATUSSET_STALLRQ0
.subsections_via_symbols
