	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksdazzle_submit_tx_fragment
_ksdazzle_submit_tx_fragment:           ## @ksdazzle_submit_tx_fragment
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$7, %eax
	movl	$7, %r14d
	cmovbl	%eax, %r14d
	movq	8(%rdi), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%r14d, %eax
	orb	$-8, %al
	movq	8(%rbx), %rcx
	movb	%al, (%rcx)
	movq	8(%rbx), %rdi
	incq	%rdi
	movl	40(%rbx), %esi
	movl	%r14d, %edx
	callq	_memcpy
	movq	24(%rbx), %r15
	movl	36(%rbx), %r12d
	movl	32(%rbx), %esi
	movl	%r12d, %edi
	callq	_usb_sndintpipe
	movq	8(%rbx), %rcx
	movq	_ksdazzle_send_irq@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	$8, %r8d
	pushq	$1
	pushq	%rbx
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movq	24(%rbx), %rdi
	movq	$0, (%rdi)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	cmovnel	%r13d, %r14d
	movl	%r14d, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ksdazzle_send_irq,4,2          ## @ksdazzle_send_irq
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_ksdazzle_submit_tx_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksdazzle_submit_tx_fragment
_ksdazzle_submit_tx_fragment:           ; @ksdazzle_submit_tx_fragment
	.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
	ldr	w8, [x0]
	mov	w9, #7
	cmp	w8, #7
	csel	w20, w8, w9, lo
	ldr	x0, [x0, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	orr	w8, w20, #0xf8
	ldr	x9, [x19, #8]
	strb	w8, [x9]
	ldr	x8, [x19, #8]
	add	x0, x8, #1
	ldr	w1, [x19, #40]
	mov	x2, x20
	bl	_memcpy
	ldr	x21, [x19, #24]
	ldp	w1, w22, [x19, #32]
	mov	x0, x22
	bl	_usb_sndintpipe
	mov	x2, x0
	ldr	x3, [x19, #8]
Lloh0:
	adrp	x8, _ksdazzle_send_irq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ksdazzle_send_irq@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w4, #8
	mov	x6, x19
	mov	w7, #1
	bl	_usb_fill_int_urb
	ldr	x0, [x19, #24]
	str	xzr, [x0]
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cmp	w0, #0
	csel	w8, w20, wzr, eq
	str	w8, [x19, #16]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ksdazzle_send_irq,4,2          ; @ksdazzle_send_irq
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_ksdazzle_submit_tx_fragment
.subsections_via_symbols
