	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dasm_read_imm_32
_dasm_read_imm_32:                      ## @dasm_read_imm_32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_g_rawop@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_g_cpu_pc@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movslq	%edi, %rdx
	movq	_g_rawbasepc@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	movl	(%rcx,%rdx,4), %eax
	shll	$24, %eax
	movl	4(%rcx,%rdx,4), %esi
	shll	$16, %esi
	orl	%eax, %esi
	movl	8(%rcx,%rdx,4), %eax
	shll	$8, %eax
	orl	%esi, %eax
	orl	12(%rcx,%rdx,4), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_g_address_mask@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_m68k_read_disassembler_32
	movzwl	%ax, %eax
	movl	(%r14), %edi
LBB0_3:
	addl	%ebx, %edi
	movl	%edi, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_rawop,8,3                    ## @g_rawop
	.comm	_g_cpu_pc,4,2                   ## @g_cpu_pc
	.comm	_g_rawbasepc,8,3                ## @g_rawbasepc
	.comm	_g_address_mask,4,2             ## @g_address_mask
	.no_dead_strip	_dasm_read_imm_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dasm_read_imm_32
_dasm_read_imm_32:                      ; @dasm_read_imm_32
	.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
Lloh0:
	adrp	x8, _g_rawop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_rawop@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x20, _g_cpu_pc@GOTPAGE
Lloh4:
	ldr	x20, [x20, _g_cpu_pc@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	x9, LBB0_2
; %bb.1:
	sxtw	x10, w8
Lloh5:
	adrp	x11, _g_rawbasepc@GOTPAGE
Lloh6:
	ldr	x11, [x11, _g_rawbasepc@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	sub	x10, x10, x11
	ldr	w11, [x9, x10, lsl #2]
	add	x9, x9, x10, lsl #2
	ldp	w10, w12, [x9, #4]
	lsl	w10, w10, #16
	orr	w10, w10, w11, lsl #24
	orr	w10, w10, w12, lsl #8
	ldr	w9, [x9, #12]
	orr	w0, w10, w9
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x9, _g_address_mask@GOTPAGE
Lloh9:
	ldr	x9, [x9, _g_address_mask@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_m68k_read_disassembler_32
	and	w0, w0, #0xffff
	ldr	w8, [x20]
LBB0_3:
	add	w8, w8, w19
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_g_rawop,8,3                    ; @g_rawop
	.comm	_g_cpu_pc,4,2                   ; @g_cpu_pc
	.comm	_g_rawbasepc,8,3                ; @g_rawbasepc
	.comm	_g_address_mask,4,2             ; @g_address_mask
	.no_dead_strip	_dasm_read_imm_32
.subsections_via_symbols
