	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___emul_fetch_reg               ## -- Begin function __emul_fetch_reg
	.p2align	4, 0x90
___emul_fetch_reg:                      ## @__emul_fetch_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IREG_G0@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_IREG_O0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%esi, %ecx
	jle	LBB0_4
## %bb.3:
	movq	8(%rdi), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_IREG_L0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rdi), %rax
	cmpl	%esi, %edx
	jle	LBB0_6
## %bb.5:
	subl	%ecx, %esi
	jmp	LBB0_7
LBB0_6:
	movq	48(%rax), %rax
	movq	_SPOFF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax), %rax
	subl	%edx, %esi
LBB0_7:
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IREG_G0,4,2                    ## @IREG_G0
	.comm	_IREG_O0,4,2                    ## @IREG_O0
	.comm	_IREG_L0,4,2                    ## @IREG_L0
	.comm	_SPOFF,8,3                      ## @SPOFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___emul_fetch_reg               ; -- Begin function __emul_fetch_reg
	.p2align	2
___emul_fetch_reg:                      ; @__emul_fetch_reg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IREG_G0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IREG_G0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _IREG_O0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IREG_O0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	cmp	w9, w1
	b.le	LBB0_4
; %bb.3:
	ldr	x8, [x0, #8]
	ldr	x0, [x8, w1, sxtw #3]
	ret
LBB0_4:
Lloh6:
	adrp	x8, _IREG_L0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IREG_L0@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x8]
	ldr	x8, [x0]
	cmp	w10, w1
	b.le	LBB0_6
; %bb.5:
	sub	w1, w1, w9
	ldr	x0, [x8, w1, sxtw #3]
	ret
LBB0_6:
	ldr	x8, [x8, #48]
Lloh9:
	adrp	x9, _SPOFF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SPOFF@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x8, [x9, x8]
	sub	w1, w1, w10
	ldr	x0, [x8, w1, sxtw #3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IREG_G0,4,2                    ; @IREG_G0
	.comm	_IREG_O0,4,2                    ; @IREG_O0
	.comm	_IREG_L0,4,2                    ; @IREG_L0
	.comm	_SPOFF,8,3                      ; @SPOFF
.subsections_via_symbols
