	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pwc_next_image                 ## -- Begin function pwc_next_image
	.p2align	4, 0x90
_pwc_next_image:                        ## @pwc_next_image
	.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), %rax
	movq	8(%rdi), %rcx
	movq	$0, (%rcx,%rax,8)
	movq	(%rdi), %rax
	incq	%rax
	movq	_pwc_mbufs@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	%rdx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pwc_mbufs,4,2                  ## @pwc_mbufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pwc_next_image                 ; -- Begin function pwc_next_image
	.p2align	2
_pwc_next_image:                        ; @pwc_next_image
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	str	xzr, [x8, x9, lsl #3]
	ldr	x8, [x0]
	add	x8, x8, #1
Lloh0:
	adrp	x9, _pwc_mbufs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pwc_mbufs@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pwc_mbufs,4,2                  ; @pwc_mbufs
.subsections_via_symbols
