	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb6fire_comm_send_buffer
_usb6fire_comm_send_buffer:             ## @usb6fire_comm_send_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_COMM_EP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_usb_sndintpipe
	movl	4(%r14), %ecx
	addl	$2, %ecx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	leaq	-20(%rbp), %r8
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_usb_interrupt_msg
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movl	4(%r14), %ecx
	addl	$2, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, -20(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMM_EP,4,2                    ## @COMM_EP
	.comm	_HZ,4,2                         ## @HZ
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_usb6fire_comm_send_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb6fire_comm_send_buffer
_usb6fire_comm_send_buffer:             ; @usb6fire_comm_send_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _COMM_EP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMM_EP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_usb_sndintpipe
	mov	x1, x0
	ldr	w8, [x19, #4]
	add	w3, w8, #2
Lloh3:
	adrp	x8, _HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	add	x4, sp, #12
	mov	x0, x20
	mov	x2, x19
	bl	_usb_interrupt_msg
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	ldr	w9, [x19, #4]
	add	w9, w9, #2
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COMM_EP,4,2                    ; @COMM_EP
	.comm	_HZ,4,2                         ; @HZ
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_usb6fire_comm_send_buffer
.subsections_via_symbols
