	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb_get_iso_packet_buffer_simple ## -- Begin function libusb_get_iso_packet_buffer_simple
	.p2align	4, 0x90
_libusb_get_iso_packet_buffer_simple:   ## @libusb_get_iso_packet_buffer_simple
	.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_5
## %bb.1:
	cmpl	%esi, %ecx
	jle	LBB0_5
## %bb.2:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	8(%rdi), %rcx
	movslq	(%rcx), %rcx
	movslq	%esi, %rdx
	imulq	%rcx, %rdx
	leaq	(%rax,%rdx,4), %rax
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	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_simple ; -- Begin function libusb_get_iso_packet_buffer_simple
	.p2align	2
_libusb_get_iso_packet_buffer_simple:   ; @libusb_get_iso_packet_buffer_simple
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	ldr	x9, [x8]
	tbnz	x9, #63, LBB0_4
; %bb.1:
	cmp	w9, w1
	b.le	LBB0_4
; %bb.2:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	mul	w8, w8, w1
	add	x0, x9, w8, sxtw #2
LBB0_4:
	ret
LBB0_5:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
