	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function catc_ctrl_run
_catc_ctrl_run:                         ## @catc_ctrl_run
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	72(%rdi), %r15
	movslq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r13
	leaq	32(%rdi), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %rbx
	shlq	$4, %rbx
	leaq	(%r15,%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	40(%r15,%rbx), %eax
	movl	%eax, 64(%rdi)
	movl	(%r15,%rbx), %eax
	orl	$64, %eax
	movl	%eax, 32(%rdi)
	movq	32(%r15,%rbx), %rdi
	callq	_cpu_to_le16
	movq	%rax, 56(%r12)
	movq	24(%r15,%rbx), %rdi
	callq	_cpu_to_le16
	movq	%rax, 48(%r12)
	leaq	(%r15,%rbx), %r14
	addq	$8, %r14
	movq	8(%r15,%rbx), %rdi
	callq	_cpu_to_le16
	movq	%rax, 40(%r12)
	cmpl	$0, (%r15,%rbx)
	je	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_usb_rcvctrlpipe
	jmp	LBB0_3
LBB0_2:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
LBB0_3:
	movl	%eax, 32(%r13)
	movq	(%r14), %rdx
	movq	%rdx, 24(%r13)
	movl	24(%r12), %edi
	movl	%edi, 16(%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.4:
	movq	16(%r15,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	callq	_memcpy
LBB0_7:
	movq	16(%r12), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submit(ctrl_urb) status %d\n"

	.no_dead_strip	_catc_ctrl_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function catc_ctrl_run
_catc_ctrl_run:                         ; @catc_ctrl_run
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	ldr	x21, [x0, #72]
	ldrsw	x22, [x0]
	mov	w8, #48
	madd	x23, x22, x8, x21
	ldr	w8, [x23]
	orr	w8, w8, #0x40
	mov	x24, x0
	str	w8, [x24, #32]!
	ldp	x20, x25, [x24, #-24]
	ldr	w8, [x23, #40]
	str	w8, [x24, #32]
	ldr	x0, [x23, #32]
	bl	_cpu_to_le16
	str	x0, [x24, #24]
	ldr	x0, [x23, #24]
	bl	_cpu_to_le16
	str	x0, [x24, #16]
	mov	x26, x23
	ldr	x0, [x26, #8]!
	bl	_cpu_to_le16
	str	x0, [x24, #8]
	ldr	w8, [x23]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	bl	_usb_rcvctrlpipe
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	w1, #0
	bl	_usb_sndctrlpipe
LBB0_3:
	str	w0, [x25, #32]
	ldr	x2, [x26]
	str	x2, [x25, #24]
	ldr	w0, [x19, #24]
	str	w0, [x25, #16]
	stp	x20, x24, [x25]
	ldr	w8, [x23]
	cbnz	w8, LBB0_6
; %bb.4:
	mov	w8, #48
	madd	x8, x22, x8, x21
	ldr	x1, [x8, #16]
	cmp	x1, #0
	ccmp	x2, #0, #4, ne
	b.eq	LBB0_6
; %bb.5:
	bl	_memcpy
LBB0_6:
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	w0, LBB0_8
; %bb.7:
	mov	x2, x0
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_err
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submit(ctrl_urb) status %d\n"

	.no_dead_strip	_catc_ctrl_run
.subsections_via_symbols
