	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smallest_imm_type
_smallest_imm_type:                     ## @smallest_imm_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	cmpl	$1, %edi
	jne	LBB0_3
## %bb.1:
	movq	_Cpu186@GOTPCREL(%rip), %rax
	movq	_Cpu286@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_cpu_arch_flags@GOTPCREL(%rip), %rax
	movq	_Cpu386@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_Cpu486@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_CpuNo64@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	cmpl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_Imm1@GOTPCREL(%rip), %rcx
	movq	_Imm8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_Imm8S@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	movl	%ebx, %edi
	callq	_fits_in_signed_byte
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	_Imm8S@GOTPCREL(%rip), %rcx
	movq	_Imm8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	orl	(%rcx), %eax
	movq	_Imm16@GOTPCREL(%rip), %rcx
LBB0_6:
	orl	(%rcx), %eax
	movq	_Imm32@GOTPCREL(%rip), %rcx
LBB0_7:
	orl	(%rcx), %eax
	movq	_Imm32S@GOTPCREL(%rip), %rcx
LBB0_8:
	orl	(%rcx), %eax
	movq	_Imm64@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movl	%ebx, %edi
	callq	_fits_in_unsigned_byte
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_Imm8@GOTPCREL(%rip), %rcx
	movq	_Imm16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_11:
	movl	%ebx, %edi
	callq	_fits_in_signed_word
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %edi
	callq	_fits_in_unsigned_word
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:
	movq	_Imm16@GOTPCREL(%rip), %rcx
	movq	_Imm32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_14:
	movl	%ebx, %edi
	callq	_fits_in_signed_long
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_Imm32@GOTPCREL(%rip), %rcx
	movq	_Imm32S@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_16:
	movl	%ebx, %edi
	callq	_fits_in_unsigned_long
	movq	%rax, %rcx
	xorl	%eax, %eax
	movq	_Imm64@GOTPCREL(%rip), %rdx
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.17:
	movq	_Imm32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	orl	(%rdx), %eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_arch_flags,4,2             ## @cpu_arch_flags
	.comm	_Cpu186,4,2                     ## @Cpu186
	.comm	_Cpu286,4,2                     ## @Cpu286
	.comm	_Cpu386,4,2                     ## @Cpu386
	.comm	_Cpu486,4,2                     ## @Cpu486
	.comm	_CpuNo64,4,2                    ## @CpuNo64
	.comm	_Imm1,4,2                       ## @Imm1
	.comm	_Imm8,4,2                       ## @Imm8
	.comm	_Imm8S,4,2                      ## @Imm8S
	.comm	_Imm16,4,2                      ## @Imm16
	.comm	_Imm32,4,2                      ## @Imm32
	.comm	_Imm32S,4,2                     ## @Imm32S
	.comm	_Imm64,4,2                      ## @Imm64
	.no_dead_strip	_smallest_imm_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smallest_imm_type
_smallest_imm_type:                     ; @smallest_imm_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _cpu_arch_flags@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_arch_flags@GOTPAGEOFF]
Lloh2:
	adrp	x9, _Cpu186@GOTPAGE
Lloh3:
	ldr	x9, [x9, _Cpu186@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _Cpu286@GOTPAGE
Lloh6:
	ldr	x10, [x10, _Cpu286@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x10, _Cpu386@GOTPAGE
Lloh9:
	ldr	x10, [x10, _Cpu386@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh12:
	adrp	x10, _Cpu486@GOTPAGE
Lloh13:
	ldr	x10, [x10, _Cpu486@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh15:
	adrp	x10, _CpuNo64@GOTPAGE
Lloh16:
	ldr	x10, [x10, _CpuNo64@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w9, w10
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh18:
	adrp	x8, _Imm1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Imm1@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _Imm8@GOTPAGE
Lloh22:
	ldr	x9, [x9, _Imm8@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _Imm8S@GOTPAGE
Lloh25:
	ldr	x9, [x9, _Imm8S@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_fits_in_signed_byte
	cbz	x0, LBB0_10
; %bb.4:
Lloh27:
	adrp	x8, _Imm8S@GOTPAGE
Lloh28:
	ldr	x8, [x8, _Imm8S@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _Imm8@GOTPAGE
Lloh31:
	ldr	x9, [x9, _Imm8@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_5:
Lloh33:
	adrp	x9, _Imm16@GOTPAGE
Lloh34:
	ldr	x9, [x9, _Imm16@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_6:
Lloh36:
	adrp	x9, _Imm32@GOTPAGE
Lloh37:
	ldr	x9, [x9, _Imm32@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_7:
Lloh39:
	adrp	x9, _Imm32S@GOTPAGE
Lloh40:
	ldr	x9, [x9, _Imm32S@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_8:
Lloh42:
	adrp	x9, _Imm64@GOTPAGE
Lloh43:
	ldr	x9, [x9, _Imm64@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	bl	_fits_in_unsigned_byte
	cbz	x0, LBB0_12
; %bb.11:
Lloh45:
	adrp	x8, _Imm8@GOTPAGE
Lloh46:
	ldr	x8, [x8, _Imm8@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _Imm16@GOTPAGE
Lloh49:
	ldr	x9, [x9, _Imm16@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_6
LBB0_12:
	mov	x0, x19
	bl	_fits_in_signed_word
	cbnz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_fits_in_unsigned_word
	cbz	x0, LBB0_15
LBB0_14:
Lloh51:
	adrp	x8, _Imm16@GOTPAGE
Lloh52:
	ldr	x8, [x8, _Imm16@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _Imm32@GOTPAGE
Lloh55:
	ldr	x9, [x9, _Imm32@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_7
LBB0_15:
	mov	x0, x19
	bl	_fits_in_signed_long
	cbz	x0, LBB0_17
; %bb.16:
Lloh57:
	adrp	x8, _Imm32@GOTPAGE
Lloh58:
	ldr	x8, [x8, _Imm32@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, _Imm32S@GOTPAGE
Lloh61:
	ldr	x9, [x9, _Imm32S@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_8
LBB0_17:
	mov	x0, x19
	bl	_fits_in_unsigned_long
Lloh63:
	adrp	x8, _Imm32@GOTPAGE
Lloh64:
	ldr	x8, [x8, _Imm32@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _Imm64@GOTPAGE
Lloh67:
	ldr	x9, [x9, _Imm64@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w0, w9, w8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh10
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_arch_flags,4,2             ; @cpu_arch_flags
	.comm	_Cpu186,4,2                     ; @Cpu186
	.comm	_Cpu286,4,2                     ; @Cpu286
	.comm	_Cpu386,4,2                     ; @Cpu386
	.comm	_Cpu486,4,2                     ; @Cpu486
	.comm	_CpuNo64,4,2                    ; @CpuNo64
	.comm	_Imm1,4,2                       ; @Imm1
	.comm	_Imm8,4,2                       ; @Imm8
	.comm	_Imm8S,4,2                      ; @Imm8S
	.comm	_Imm16,4,2                      ; @Imm16
	.comm	_Imm32,4,2                      ; @Imm32
	.comm	_Imm32S,4,2                     ; @Imm32S
	.comm	_Imm64,4,2                      ; @Imm64
	.no_dead_strip	_smallest_imm_type
.subsections_via_symbols
