	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_movswl_indexed_map        ## -- Begin function emit_movswl_indexed_map
	.p2align	4, 0x90
_emit_movswl_indexed_map:               ## @emit_movswl_indexed_map
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%esi, %r15d
	movl	%edi, %r12d
	testl	%edx, %edx
	js	LBB0_1
## %bb.3:
	movl	%edx, %ebx
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.4:
	leal	255(%r12), %eax
	xorl	%edi, %edi
	cmpl	$511, %eax                      ## imm = 0x1FF
	setb	%dil
	callq	_assert
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %r14
	movl	(%rax,%r14,4), %esi
	movslq	%r15d, %r15
	movl	(%rax,%r15,4), %edx
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str.1(%rip), %rdi
	callq	_assem_debug
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_rd_rn_rm
	orl	$-528482048, %eax               ## imm = 0xE0800100
	movl	%eax, %edi
	callq	_output_w32
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	%r14d, %edx
	jmp	LBB0_2
LBB0_1:
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_movswl_indexed            ## TAILCALL
LBB0_5:
	movq	_HOST_TEMPREG@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_emit_shlimm
	movq	_regname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %esi
	movslq	%r15d, %rcx
	movl	(%rax,%rcx,4), %edx
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_assem_debug
	movl	(%r12), %edx
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_rd_rn_rm
	orl	$-510656272, %eax               ## imm = 0xE19000F0
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_output_w32                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_TEMPREG,8,3               ## @HOST_TEMPREG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ldrsh %s,%s+%s\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emit_movswl_indexed_map        ; -- Begin function emit_movswl_indexed_map
	.p2align	2
_emit_movswl_indexed_map:               ; @emit_movswl_indexed_map
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	tbnz	w2, #31, LBB0_3
; %bb.1:
	mov	x22, x2
	cbz	w21, LBB0_5
; %bb.2:
	add	w8, w21, #255
	cmp	w8, #511
	cset	w0, lo
	bl	_assert
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]
	ldr	w3, [x8, w22, uxtw #2]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_assem_debug
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_rd_rn_rm
	mov	w8, #256
	movk	w8, #57472, lsl #16
	orr	w0, w0, w8
	bl	_output_w32
	mov	x0, x21
	mov	x1, x19
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	mov	x1, x20
LBB0_4:
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_emit_movswl_indexed
LBB0_5:
Lloh5:
	adrp	x21, _HOST_TEMPREG@GOTPAGE
Lloh6:
	ldr	x21, [x21, _HOST_TEMPREG@GOTPAGEOFF]
	ldr	x2, [x21]
	mov	x0, x22
	mov	w1, #2
	bl	_emit_shlimm
Lloh7:
	adrp	x8, _regname@GOTPAGE
Lloh8:
	ldr	x8, [x8, _regname@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w1, [x8, w19, sxtw #2]
	ldr	w2, [x8, w20, sxtw #2]
	ldr	x9, [x21]
	ldr	w3, [x8, x9, lsl #2]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assem_debug
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_rd_rn_rm
	mov	w8, #240
	movk	w8, #57744, lsl #16
	orr	w0, w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_output_w32
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_TEMPREG,8,3               ; @HOST_TEMPREG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ldrsh %s,%s+%s\n"

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

.subsections_via_symbols
