	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_mov2imm_compact           ## -- Begin function emit_mov2imm_compact
	.p2align	4, 0x90
_emit_mov2imm_compact:                  ## @emit_mov2imm_compact
	.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	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movl	%edi, %r13d
	callq	_emit_movimm
	movl	%r12d, %ebx
	subl	%r13d, %ebx
	leaq	-44(%rbp), %rsi
	movl	%ebx, %edi
	callq	_genimm
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %ecx
	callq	_assem_debug
	movl	%r14d, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_rd_rn_rm
	orl	-44(%rbp), %eax
	orl	$-494927872, %eax               ## imm = 0xE2800000
	jmp	LBB0_2
LBB0_3:
	subl	%r12d, %r13d
	leaq	-44(%rbp), %rsi
	movl	%r13d, %edi
	callq	_genimm
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %ecx
	callq	_assem_debug
	movl	%r14d, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_rd_rn_rm
	orl	-44(%rbp), %eax
	orl	$-499122176, %eax               ## imm = 0xE2400000
LBB0_2:
	movl	%eax, %edi
	callq	_output_w32
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_emit_movimm
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add %s,%s,#%d\n"

	.comm	_regname,8,3                    ## @regname
L_.str.1:                               ## @.str.1
	.asciz	"sub %s,%s,#%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_mov2imm_compact           ; -- Begin function emit_mov2imm_compact
	.p2align	2
_emit_mov2imm_compact:                  ; @emit_mov2imm_compact
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
	bl	_emit_movimm
	sub	w22, w21, w23
	add	x1, sp, #12
	mov	x0, x22
	bl	_genimm
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _regname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _regname@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w1, [x8, w19, uxtw #2]
	ldr	w2, [x8, w20, uxtw #2]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x22
	bl	_assem_debug
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_rd_rn_rm
	ldr	w8, [sp, #12]
	orr	w8, w0, w8
	mov	w9, #-499122176
	add	w9, w9, #1024, lsl #12          ; =4194304
	b	LBB0_4
LBB0_2:
	sub	w22, w23, w21
	add	x1, sp, #12
	mov	x0, x22
	bl	_genimm
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _regname@GOTPAGE
Lloh6:
	ldr	x8, [x8, _regname@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w1, [x8, w19, uxtw #2]
	ldr	w2, [x8, w20, uxtw #2]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x3, x22
	bl	_assem_debug
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_rd_rn_rm
	ldr	w8, [sp, #12]
	orr	w8, w0, w8
	mov	w9, #-499122176
LBB0_4:
	orr	w0, w8, w9
	bl	_output_w32
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_emit_movimm
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add %s,%s,#%d\n"

	.comm	_regname,8,3                    ; @regname
l_.str.1:                               ; @.str.1
	.asciz	"sub %s,%s,#%d\n"

.subsections_via_symbols
