	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_shldimm                   ## -- Begin function emit_shldimm
	.p2align	4, 0x90
_emit_shldimm:                          ## @emit_shldimm
	.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, %r12d
	movl	%edi, %r13d
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	%ecx, %r15
	movl	(%rdx,%r15,4), %eax
	movslq	%esi, %r14
	movl	(%rdx,%r14,4), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_assem_debug
	xorl	%edi, %edi
	testl	%r12d, %r12d
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	movl	%r12d, %ebx
	subl	$32, %ebx
	setb	%dil
	negl	%ebx
	callq	_assert
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %esi
	movslq	%r13d, %r13
	movl	(%rax,%r13,4), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_assem_debug
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_rd_rn_rm
	shll	$7, %r12d
	orl	%eax, %r12d
	orl	$-509607936, %r12d              ## imm = 0xE1A00000
	movl	%r12d, %edi
	callq	_output_w32
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %edx
	movl	(%rax,%r14,4), %ecx
	leaq	L_.str.2(%rip), %rdi
	movl	%edx, %esi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_assem_debug
	movl	%r15d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_rd_rn_rm
	shll	$7, %ebx
	orl	%eax, %ebx
	orl	$-511705056, %ebx               ## imm = 0xE1800020
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_output_w32                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shld %%%s,%%%s,%d\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"orr %s,%s,%s,lsr #%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_shldimm                   ; -- Begin function emit_shldimm
	.p2align	2
_emit_shldimm:                          ; @emit_shldimm
	.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, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _regname@GOTPAGE
Lloh1:
	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]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x21
	bl	_assem_debug
	cmp	w21, #0
	cset	w0, ne
	bl	_assert
	cmp	w21, #32
	cset	w0, lo
	bl	_assert
	ldr	x8, [x23]
	ldr	w1, [x8, x24]
	ldr	w2, [x8, w22, sxtw #2]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x3, x21
	bl	_assem_debug
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	bl	_rd_rn_rm
	orr	w8, w0, w21, lsl #7
	mov	w9, #-509607936
	orr	w0, w8, w9
	bl	_output_w32
	ldr	x8, [x23]
	ldr	w1, [x8, x24]
	ldr	w3, [x8, x25]
	mov	w8, #32
	sub	w21, w8, w21
	str	x21, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x1
	bl	_assem_debug
	mov	x0, x19
	mov	x1, x19
	mov	x2, x20
	bl	_rd_rn_rm
	orr	w8, w0, w21, lsl #7
	mov	w9, #32
	movk	w9, #57728, lsl #16
	orr	w0, w8, w9
	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	_output_w32
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shld %%%s,%%%s,%d\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"orr %s,%s,%s,lsr #%d\n"

.subsections_via_symbols
