	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_control_msg                ## -- Begin function usb_control_msg
	.p2align	4, 0x90
_usb_control_msg:                       ## @usb_control_msg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_LIBUSB20_CONTROL_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_LIBUSB20_INIT
	movl	%ebx, -64(%rbp)
	movl	%r13d, -60(%rbp)
	movl	%r12d, -56(%rbp)
	movl	%r15d, -52(%rbp)
	movl	16(%rbp), %eax
	movl	%eax, -48(%rbp)
	leaq	-44(%rbp), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	24(%rbp), %r8d
	xorl	%r9d, %r9d
	callq	_libusb20_dev_request_sync
	negl	%eax
	sbbl	%ebx, %ebx
	orl	-44(%rbp), %ebx
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIBUSB20_CONTROL_SETUP,4,2     ## @LIBUSB20_CONTROL_SETUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_control_msg                ; -- Begin function usb_control_msg
	.p2align	2
_usb_control_msg:                       ; @usb_control_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
Lloh0:
	adrp	x8, _LIBUSB20_CONTROL_SETUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIBUSB20_CONTROL_SETUP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_LIBUSB20_INIT
	stp	w25, w24, [sp, #8]
	stp	w23, w22, [sp, #16]
	str	w20, [sp, #24]
	add	x1, sp, #8
	add	x3, sp, #4
	mov	x0, x26
	mov	x2, x21
	mov	x4, x19
	mov	w5, #0
	bl	_libusb20_dev_request_sync
	ldr	w8, [sp, #4]
	cmp	w0, #0
	csinv	w0, w8, wzr, eq
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LIBUSB20_CONTROL_SETUP,4,2     ; @LIBUSB20_CONTROL_SETUP
.subsections_via_symbols
