	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_relative_value
_get_relative_value:                    ## @get_relative_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jne	LBB0_2
## %bb.1:
	movl	$1, (%rdi)
	movl	$1, %r8d
LBB0_2:
	movl	4(%rdi), %eax
	xorl	%ecx, %ecx
	cmpl	%esi, %eax
	jg	LBB0_4
## %bb.3:
	movl	8(%rdi), %ecx
	movl	%esi, %edx
	subl	%eax, %edx
	notl	%eax
	addl	%ecx, %eax
	addl	%r8d, %eax
	cmpl	%esi, %ecx
	cmovgl	%edx, %eax
	cltd
	idivl	%r8d
	movl	%eax, %ecx
LBB0_4:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_relative_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_relative_value
_get_relative_value:                    ; @get_relative_value
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x0]
LBB0_2:
	ldr	w9, [x0, #4]
	cmp	w9, w1
	b.le	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	ldr	w10, [x0, #8]
	sub	w11, w1, w9
	mvn	w9, w9
	add	w9, w10, w9
	add	w9, w9, w8
	cmp	w10, w1
	csel	w9, w11, w9, gt
	sdiv	w0, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_relative_value
.subsections_via_symbols
