	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb_get_iso_packet_buffer   ## -- Begin function libusb_get_iso_packet_buffer
	.p2align	4, 0x90
_libusb_get_iso_packet_buffer:          ## @libusb_get_iso_packet_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	js	LBB0_12
## %bb.1:
	cmpq	%rsi, %rcx
	jle	LBB0_12
## %bb.2:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.5:
	movq	8(%rdi), %rdx
	leaq	-1(%rsi), %rdi
	movl	%esi, %r8d
	andl	$7, %r8d
	cmpq	$7, %rdi
	jae	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	andq	$-8, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	4(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	8(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	12(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	16(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	20(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	24(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	28(%rdx,%rdi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	$8, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rdx,%rdi,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rsi,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_11
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb_get_iso_packet_buffer   ; -- Begin function libusb_get_iso_packet_buffer
	.p2align	2
_libusb_get_iso_packet_buffer:          ; @libusb_get_iso_packet_buffer
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	ldr	x9, [x8]
	tbnz	x9, #63, LBB0_6
; %bb.1:
	cmp	x9, x1
	b.le	LBB0_6
; %bb.2:
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_6
; %bb.3:
	cbz	x1, LBB0_6
; %bb.4:
	ldr	x8, [x8, #8]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x8], #4
	add	x0, x0, x9, lsl #2
	subs	x1, x1, #1
	b.ne	LBB0_5
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
