	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_intcast
_emit_intcast:                          ## @emit_intcast
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	leal	-132(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$131, %eax
	jne	LBB0_7
## %bb.3:
	cmpl	$0, 4(%rdi)
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	cmpl	$0, 4(%rdi)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	cmpl	$0, 4(%rdi)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	cmoveq	%rax, %rdi
	popq	%rbp
	jmp	_emit                           ## TAILCALL
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"movzbq #al, #rax"

L_.str.1:                               ## @.str.1
	.asciz	"movsbq #al, #rax"

L_.str.2:                               ## @.str.2
	.asciz	"movzwq #ax, #rax"

L_.str.3:                               ## @.str.3
	.asciz	"movswq #ax, #rax"

L_.str.4:                               ## @.str.4
	.asciz	"mov #eax, #eax"

L_.str.5:                               ## @.str.5
	.asciz	"cltq"

	.no_dead_strip	_emit_intcast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_intcast
_emit_intcast:                          ; @emit_intcast
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w9, w8, #132
	cmp	w9, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #131
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, l_.str.4@PAGE
Lloh1:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh2:
	adrp	x10, l_.str.5@PAGE
Lloh3:
	add	x10, x10, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	w8, [x0, #4]
Lloh4:
	adrp	x9, l_.str@PAGE
Lloh5:
	add	x9, x9, l_.str@PAGEOFF
Lloh6:
	adrp	x10, l_.str.1@PAGE
Lloh7:
	add	x10, x10, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	w8, [x0, #4]
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh10:
	adrp	x10, l_.str.3@PAGE
Lloh11:
	add	x10, x10, l_.str.3@PAGEOFF
LBB0_6:
	cmp	w8, #0
	csel	x0, x10, x9, eq
	b	_emit
LBB0_7:
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"movzbq #al, #rax"

l_.str.1:                               ; @.str.1
	.asciz	"movsbq #al, #rax"

l_.str.2:                               ; @.str.2
	.asciz	"movzwq #ax, #rax"

l_.str.3:                               ; @.str.3
	.asciz	"movswq #ax, #rax"

l_.str.4:                               ; @.str.4
	.asciz	"mov #eax, #eax"

l_.str.5:                               ; @.str.5
	.asciz	"cltq"

	.no_dead_strip	_emit_intcast
.subsections_via_symbols
