	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_gma_advance
_ip_gma_advance:                        ## @ip_gma_advance
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	shll	$2, %esi
	movl	(%rdi), %eax
	addl	%esi, %eax
	movl	%eax, (%rdi)
	movq	8(%rdi), %rcx
	movq	_RING_BUFFER_INSTRUCTION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movl	%eax, %edx
	movq	24(%rdi), %rcx
	movq	16(%rdi), %rsi
	addq	%rcx, %rsi
	cmpq	%rdx, %rsi
	jg	LBB0_3
## %bb.2:
	subl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_3:
	callq	_update_ip_va
	jmp	LBB0_5
LBB0_4:
	addl	%esi, 32(%rdi)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_BUFFER_INSTRUCTION,8,3    ## @RING_BUFFER_INSTRUCTION
	.no_dead_strip	_ip_gma_advance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_gma_advance
_ip_gma_advance:                        ; @ip_gma_advance
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	lsl	w9, w1, #2
	ldr	w8, [x0]
	add	w8, w8, w9
	str	w8, [x0]
	ldr	x10, [x0, #8]
Lloh0:
	adrp	x11, _RING_BUFFER_INSTRUCTION@GOTPAGE
Lloh1:
	ldr	x11, [x11, _RING_BUFFER_INSTRUCTION@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.1:
	ldp	x10, x9, [x0, #16]
	add	x10, x9, x10
	cmp	x10, w8, uxtw
	b.gt	LBB0_3
; %bb.2:
	sub	w8, w8, w9
	str	w8, [x0]
LBB0_3:
	bl	_update_ip_va
	b	LBB0_5
LBB0_4:
	ldr	w8, [x0, #32]
	add	w8, w8, w9
	str	w8, [x0, #32]
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_BUFFER_INSTRUCTION,8,3    ; @RING_BUFFER_INSTRUCTION
	.no_dead_strip	_ip_gma_advance
.subsections_via_symbols
