	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_next_transfer
_get_next_transfer:                     ## @get_next_transfer
	.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
	leaq	1(%rcx), %rdx
	movq	%rdx, (%rdi)
	movq	_GPMI_MAX_TRANSFERS@GOTPCREL(%rip), %rsi
	shlq	$2, %rcx
	addq	8(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPMI_MAX_TRANSFERS,8,3         ## @GPMI_MAX_TRANSFERS
	.no_dead_strip	_get_next_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_next_transfer
_get_next_transfer:                     ; @get_next_transfer
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	add	x10, x9, #1
Lloh0:
	adrp	x11, _GPMI_MAX_TRANSFERS@GOTPAGE
Lloh1:
	ldr	x11, [x11, _GPMI_MAX_TRANSFERS@GOTPAGEOFF]
	str	x10, [x0]
Lloh2:
	ldr	x11, [x11]
	add	x8, x8, x9, lsl #2
	cmp	x10, x11
	csel	x0, xzr, x8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPMI_MAX_TRANSFERS,8,3         ; @GPMI_MAX_TRANSFERS
	.no_dead_strip	_get_next_transfer
.subsections_via_symbols
