	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_data_xfer_append           ## -- Begin function usb_data_xfer_append
	.p2align	4, 0x90
_usb_data_xfer_append:                  ## @usb_data_xfer_append
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %ebx
	movq	_USB_MAX_XFER_BLOCKS@GOTPCREL(%rip), %r11
	cmpl	(%r11), %ebx
	jge	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movq	16(%rdi), %r9
	leaq	(%rax,%rax,4), %r10
	movq	%rsi, 32(%r9,%r10,8)
	movl	%edx, (%r9,%r10,8)
	movq	%rcx, 24(%r9,%r10,8)
	movl	%r8d, 4(%r9,%r10,8)
	incl	%ebx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r9,%r10,8)
	movl	%ebx, (%rdi)
	incq	%rax
	movslq	(%r11), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	leaq	(%r9,%r10,8), %rax
	movq	%rdx, 8(%rdi)
LBB0_6:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_MAX_XFER_BLOCKS,4,2        ## @USB_MAX_XFER_BLOCKS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_data_xfer_append           ; -- Begin function usb_data_xfer_append
	.p2align	2
_usb_data_xfer_append:                  ; @usb_data_xfer_append
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
Lloh0:
	adrp	x9, _USB_MAX_XFER_BLOCKS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB_MAX_XFER_BLOCKS@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w10, w8
	b.ge	LBB0_2
; %bb.1:
	ldp	x11, x8, [x0, #8]
	mov	w12, #40
	madd	x8, x11, x12, x8
	stp	x3, x1, [x8, #24]
	stp	w2, w4, [x8]
	add	w10, w10, #1
	stp	xzr, xzr, [x8, #8]
	str	w10, [x0]
	add	x10, x11, #1
	ldrsw	x9, [x9]
	udiv	x11, x10, x9
	msub	x9, x11, x9, x10
	str	x9, [x0, #8]
	mov	x0, x8
	ret
LBB0_2:
	mov	x0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_MAX_XFER_BLOCKS,4,2        ; @USB_MAX_XFER_BLOCKS
.subsections_via_symbols
