	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scratch_inc_extra_ptr
_scratch_inc_extra_ptr:                 ## @scratch_inc_extra_ptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	addl	(%rdi), %eax
	movq	_scratch_buf_size@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, (%rdi)
	movq	_DBG_SCRATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_PDEBUG                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scratch_buf_size,4,2           ## @scratch_buf_size
	.comm	_DBG_SCRATCH,4,2                ## @DBG_SCRATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ptr=%d\n"

	.no_dead_strip	_scratch_inc_extra_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scratch_inc_extra_ptr
_scratch_inc_extra_ptr:                 ; @scratch_inc_extra_ptr
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w8, w8, w1
Lloh0:
	adrp	x9, _scratch_buf_size@GOTPAGE
Lloh1:
	ldr	x9, [x9, _scratch_buf_size@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w2, w10, w9, w8
	str	w2, [x0]
Lloh3:
	adrp	x8, _DBG_SCRATCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_SCRATCH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	_PDEBUG
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_scratch_buf_size,4,2           ; @scratch_buf_size
	.comm	_DBG_SCRATCH,4,2                ; @DBG_SCRATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ptr=%d\n"

	.no_dead_strip	_scratch_inc_extra_ptr
.subsections_via_symbols
