	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_orimm                     ## -- Begin function emit_orimm
	.p2align	4, 0x90
_emit_orimm:                            ## @emit_orimm
	.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	%edx, %r14d
	movl	%edi, %r15d
	testl	%esi, %esi
	je	LBB0_1
## %bb.3:
	movl	%esi, %ebx
	leaq	-44(%rbp), %rsi
	movl	%ebx, %edi
	callq	_genimm
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %r14
	movl	(%rax,%r14,4), %esi
	movslq	%r15d, %r15
	movl	(%rax,%r15,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
	jmp	LBB0_6
LBB0_1:
	cmpl	%r14d, %r15d
	je	LBB0_7
## %bb.2:
	movl	%r15d, %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_mov                       ## TAILCALL
LBB0_5:
	leal	-1(%rbx), %eax
	xorl	%edi, %edi
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	setb	%dil
	callq	_assert
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %r12
	movl	(%rax,%r12,4), %esi
	movslq	%r15d, %r13
	movl	(%rax,%r13,4), %edx
	movl	%ebx, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	leaq	L_.str(%rip), %rdi
	callq	_assem_debug
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %esi
	movl	(%rax,%r13,4), %edx
	movzbl	%bl, %r12d
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %ecx
	callq	_assem_debug
	sarl	$8, %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	$8, %ecx
	callq	_rd_rn_imm_shift
	orl	$-478150656, %eax               ## imm = 0xE3800000
	movl	%eax, %edi
	callq	_output_w32
	movl	%r14d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_rd_rn_imm_shift
LBB0_6:
	orl	$-478150656, %eax               ## imm = 0xE3800000
	movl	%eax, %edi
	callq	_output_w32
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"orr %s,%s,#%d\n"

	.comm	_regname,8,3                    ## @regname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_orimm                     ; -- Begin function emit_orimm
	.p2align	2
_emit_orimm:                            ; @emit_orimm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x0
	cbz	w1, LBB0_3
; %bb.1:
	mov	x21, x1
	add	x1, sp, #12
	mov	x0, x21
	bl	_genimm
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _regname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _regname@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w1, [x8, w19, sxtw #2]
	ldr	w2, [x8, w20, sxtw #2]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x21
	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, #-478150656
	orr	w0, w8, w9
	b	LBB0_6
LBB0_3:
	cmp	w20, w19
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_emit_mov
LBB0_5:
	sub	w8, w21, #1
	mov	w9, #65535
	cmp	w8, w9
	cset	w0, lo
	bl	_assert
Lloh5:
	adrp	x23, _regname@GOTPAGE
Lloh6:
	ldr	x23, [x23, _regname@GOTPAGEOFF]
	ldr	x8, [x23]
	sbfiz	x24, x19, #2, #32
	ldr	w1, [x8, x24]
	sbfiz	x25, x20, #2, #32
	ldr	w2, [x8, x25]
	and	w3, w21, #0xff00
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_assem_debug
	ldr	x8, [x23]
	ldr	w1, [x8, x24]
	ldr	w2, [x8, x25]
	and	w23, w21, #0xff
	mov	x0, x22
	mov	x3, x23
	bl	_assem_debug
	asr	w2, w21, #8
	mov	x0, x19
	mov	x1, x20
	mov	w3, #8
	bl	_rd_rn_imm_shift
	mov	w20, #-478150656
	orr	w0, w0, w20
	bl	_output_w32
	mov	x0, x19
	mov	x1, x19
	mov	x2, x23
	mov	w3, #0
	bl	_rd_rn_imm_shift
	orr	w0, w0, w20
LBB0_6:
	bl	_output_w32
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"orr %s,%s,#%d\n"

	.comm	_regname,8,3                    ; @regname
.subsections_via_symbols
