	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usX2Y_In04_init                ## -- Begin function usX2Y_In04_init
	.p2align	4, 0x90
_usX2Y_In04_init:                       ## @usX2Y_In04_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r12), %esi
	movl	$21, %edi
	callq	_kmalloc
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	12(%r14), %rdi
	callq	_init_waitqueue_head
	movl	(%r14), %r15d
	movl	8(%r14), %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_usb_rcvintpipe
	movl	4(%r14), %ecx
	movq	_i_usX2Y_In04Int@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$21, %r8d
	pushq	$10
	pushq	%r14
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movl	(%r14), %edi
	movl	(%r12), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usb_submit_urb                 ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movl	(%r14), %edi
	callq	_usb_free_urb
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_4:
	subl	(%rax), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_i_usX2Y_In04Int,4,2            ## @i_usX2Y_In04Int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usX2Y_In04_init                ; -- Begin function usX2Y_In04_init
	.p2align	2
_usX2Y_In04_init:                       ; @usX2Y_In04_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	w0, [x19]
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w1, [x22]
	mov	w0, #21
	bl	_kmalloc
	str	w0, [x19, #4]
	cbz	w0, LBB0_3
; %bb.2:
	add	x0, x19, #12
	bl	_init_waitqueue_head
	ldr	w20, [x19]
	ldr	w21, [x19, #8]
	mov	x0, x21
	mov	w1, #4
	bl	_usb_rcvintpipe
	mov	x2, x0
	ldr	w3, [x19, #4]
Lloh2:
	adrp	x8, _i_usX2Y_In04Int@GOTPAGE
Lloh3:
	ldr	x8, [x8, _i_usX2Y_In04Int@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #21
	mov	x6, x19
	mov	w7, #10
	bl	_usb_fill_int_urb
	ldr	w0, [x19]
	ldr	w1, [x22]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_usb_submit_urb
LBB0_3:
	ldr	w0, [x19]
	bl	_usb_free_urb
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_i_usX2Y_In04Int,4,2            ; @i_usX2Y_In04Int
.subsections_via_symbols
