	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_ip_va
_update_ip_va:                          ## @update_ip_va
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movq	16(%rbx), %rax
	movq	_RING_BUFFER_INSTRUCTION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdi
	movq	40(%rbx), %rdx
	cmpq	%rdi, %rcx
	jbe	LBB0_9
## %bb.3:
	movq	24(%rbx), %r8
	movq	32(%rbx), %rsi
	addq	%r8, %rsi
	movq	%rdx, %rax
	subq	%rcx, %rax
	jb	LBB0_5
## %bb.4:
	cmpq	%rsi, %rdx
	jb	LBB0_10
LBB0_5:
	xorl	%eax, %eax
	cmpq	%r8, %rdx
	jb	LBB0_10
## %bb.6:
	cmpq	%rdi, %rdx
	ja	LBB0_10
## %bb.7:
	addq	%r8, %rcx
	subq	%rcx, %rsi
	addq	%rdx, %rsi
	movq	%rsi, %rax
	jmp	LBB0_10
LBB0_8:
	movq	48(%rbx), %rax
	jmp	LBB0_11
LBB0_9:
	subq	%rcx, %rdx
	movq	%rdx, %rax
LBB0_10:
	addq	64(%rbx), %rax
LBB0_11:
	movq	%rax, 56(%rbx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_BUFFER_INSTRUCTION,8,3    ## @RING_BUFFER_INSTRUCTION
	.no_dead_strip	_update_ip_va
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_ip_va
_update_ip_va:                          ; @update_ip_va
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_10
; %bb.1:
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _RING_BUFFER_INSTRUCTION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RING_BUFFER_INSTRUCTION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldp	x10, x9, [x19]
	ldr	x8, [x19, #40]
	cmp	x10, x9
	b.ls	LBB0_7
; %bb.3:
	ldp	x12, x11, [x19, #24]
	add	x13, x11, x12
	subs	x11, x8, x10
	b.lo	LBB0_5
; %bb.4:
	cmp	x8, x13
	b.lo	LBB0_8
LBB0_5:
	add	x10, x10, x12
	sub	x10, x13, x10
	add	x10, x10, x8
	cmp	x8, x9
	csel	x9, xzr, x10, hi
	cmp	x8, x12
	csel	x11, xzr, x9, lo
	b	LBB0_8
LBB0_6:
	ldr	x8, [x19, #48]
	b	LBB0_9
LBB0_7:
	sub	x11, x8, x10
LBB0_8:
	ldr	x8, [x19, #64]
	add	x8, x8, x11
LBB0_9:
	str	x8, [x19, #56]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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	_update_ip_va
.subsections_via_symbols
