	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inline_readstub                ## -- Begin function inline_readstub
	.p2align	4, 0x90
_inline_readstub:                       ## @inline_readstub
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r13
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r14d
	movl	16(%rbp), %r12d
	leaq	L_.str(%rip), %rdi
	callq	_assem_debug
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_get_reg
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	$-1, %esi
	callq	_get_reg
	movl	%eax, %r15d
LBB0_2:
	movl	%r15d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movl	%r12d, %ebx
	movl	%r12d, %edi
	callq	_save_regs
	movq	_EAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_emit_movimm
	movq	_LOADB_STUB@GOTPCREL(%rip), %r13
	cmpl	%r14d, (%r13)
	jne	LBB0_4
## %bb.3:
	movq	_MappedMemoryReadByte@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_emit_call
LBB0_4:
	movq	_LOADW_STUB@GOTPCREL(%rip), %r12
	cmpl	%r14d, (%r12)
	jne	LBB0_6
## %bb.5:
	movq	_MappedMemoryReadWord@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_emit_call
LBB0_6:
	movq	_LOADL_STUB@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_MappedMemoryReadLong@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_emit_call
LBB0_8:
	movq	_LOADS_STUB@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax)
	setne	%dil
	callq	_assert
	cmpl	%r14d, (%r13)
	jne	LBB0_11
## %bb.9:
	testl	%r15d, %r15d
	js	LBB0_17
## %bb.10:
	movq	_EAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_emit_movsbl_reg
	jmp	LBB0_17
LBB0_11:
	cmpl	%r14d, (%r12)
	jne	LBB0_14
## %bb.12:
	testl	%r15d, %r15d
	js	LBB0_17
## %bb.13:
	movq	_EAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_emit_movswl_reg
	jmp	LBB0_17
LBB0_14:
	testl	%r15d, %r15d
	js	LBB0_17
## %bb.15:
	movq	_EAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	%edi, %r15d
	je	LBB0_17
## %bb.16:
	movl	%r15d, %esi
	callq	_emit_mov
LBB0_17:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_restore_regs                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inline_readstub\n"

	.comm	_EAX,4,2                        ## @EAX
	.comm	_LOADB_STUB,4,2                 ## @LOADB_STUB
	.comm	_MappedMemoryReadByte,8,3       ## @MappedMemoryReadByte
	.comm	_LOADW_STUB,4,2                 ## @LOADW_STUB
	.comm	_MappedMemoryReadWord,8,3       ## @MappedMemoryReadWord
	.comm	_LOADL_STUB,4,2                 ## @LOADL_STUB
	.comm	_MappedMemoryReadLong,8,3       ## @MappedMemoryReadLong
	.comm	_LOADS_STUB,4,2                 ## @LOADS_STUB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inline_readstub                ; -- Begin function inline_readstub
	.p2align	2
_inline_readstub:                       ; @inline_readstub
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x6
	mov	x20, x4
	mov	x23, x3
	mov	x22, x2
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assem_debug
	mov	x0, x23
	mov	x1, x20
	bl	_get_reg
	mov	x20, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	w1, #-1
	bl	_get_reg
	mov	x20, x0
LBB0_2:
	mvn	w8, w20
	lsr	w0, w8, #31
	bl	_assert
	mov	x0, x19
	bl	_save_regs
Lloh2:
	adrp	x23, _EAX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EAX@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_emit_movimm
Lloh4:
	adrp	x22, _LOADB_STUB@GOTPAGE
Lloh5:
	ldr	x22, [x22, _LOADB_STUB@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _MappedMemoryReadByte@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MappedMemoryReadByte@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_emit_call
LBB0_4:
Lloh9:
	adrp	x24, _LOADW_STUB@GOTPAGE
Lloh10:
	ldr	x24, [x24, _LOADW_STUB@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w21
	b.ne	LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _MappedMemoryReadWord@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MappedMemoryReadWord@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_emit_call
LBB0_6:
Lloh14:
	adrp	x8, _LOADL_STUB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOADL_STUB@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_8
; %bb.7:
Lloh17:
	adrp	x8, _MappedMemoryReadLong@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MappedMemoryReadLong@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_emit_call
LBB0_8:
Lloh20:
	adrp	x8, _LOADS_STUB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LOADS_STUB@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, w21
	cset	w0, ne
	bl	_assert
	ldr	w8, [x22]
	cmp	w8, w21
	b.ne	LBB0_11
; %bb.9:
	tbnz	w20, #31, LBB0_17
; %bb.10:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_emit_movsbl_reg
	b	LBB0_17
LBB0_11:
	ldr	w8, [x24]
	cmp	w8, w21
	b.ne	LBB0_14
; %bb.12:
	tbnz	w20, #31, LBB0_17
; %bb.13:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_emit_movswl_reg
	b	LBB0_17
LBB0_14:
	tbnz	w20, #31, LBB0_17
; %bb.15:
	ldr	w0, [x23]
	cmp	w20, w0
	b.eq	LBB0_17
; %bb.16:
	mov	x1, x20
	bl	_emit_mov
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_restore_regs
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inline_readstub\n"

	.comm	_EAX,4,2                        ; @EAX
	.comm	_LOADB_STUB,4,2                 ; @LOADB_STUB
	.comm	_MappedMemoryReadByte,8,3       ; @MappedMemoryReadByte
	.comm	_LOADW_STUB,4,2                 ; @LOADW_STUB
	.comm	_MappedMemoryReadWord,8,3       ; @MappedMemoryReadWord
	.comm	_LOADL_STUB,4,2                 ; @LOADL_STUB
	.comm	_MappedMemoryReadLong,8,3       ; @MappedMemoryReadLong
	.comm	_LOADS_STUB,4,2                 ; @LOADS_STUB
.subsections_via_symbols
