	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rimm
_rimm:                                  ## @rimm
	.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	$256, %edi                      ## imm = 0x100
	jb	LBB0_33
## %bb.1:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_3
## %bb.2:
	movl	%ebx, %ecx
	movl	$69376, %eax                    ## imm = 0x10F00
	andl	$3, %ecx
	jne	LBB0_32
LBB0_3:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_5
## %bb.4:
	movl	%ebx, %ecx
	movl	$134656, %eax                   ## imm = 0x20E00
	andl	$3, %ecx
	jne	LBB0_32
LBB0_5:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_7
## %bb.6:
	movl	%ebx, %ecx
	movl	$199936, %eax                   ## imm = 0x30D00
	andl	$3, %ecx
	jne	LBB0_32
LBB0_7:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_9
## %bb.8:
	movl	%ebx, %ecx
	movl	$265216, %eax                   ## imm = 0x40C00
	andl	$3, %ecx
	jne	LBB0_32
LBB0_9:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_11
## %bb.10:
	movl	%ebx, %ecx
	movl	$330496, %eax                   ## imm = 0x50B00
	andl	$3, %ecx
	jne	LBB0_32
LBB0_11:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_13
## %bb.12:
	movl	%ebx, %ecx
	movl	$395776, %eax                   ## imm = 0x60A00
	andl	$3, %ecx
	jne	LBB0_32
LBB0_13:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_15
## %bb.14:
	movl	%ebx, %ecx
	movl	$461056, %eax                   ## imm = 0x70900
	andl	$3, %ecx
	jne	LBB0_32
LBB0_15:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_17
## %bb.16:
	movl	%ebx, %ecx
	movl	$526336, %eax                   ## imm = 0x80800
	andl	$3, %ecx
	jne	LBB0_32
LBB0_17:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_19
## %bb.18:
	movl	%ebx, %ecx
	movl	$591616, %eax                   ## imm = 0x90700
	andl	$3, %ecx
	jne	LBB0_32
LBB0_19:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_21
## %bb.20:
	movl	%ebx, %ecx
	movl	$656896, %eax                   ## imm = 0xA0600
	andl	$3, %ecx
	jne	LBB0_32
LBB0_21:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_23
## %bb.22:
	movl	%ebx, %ecx
	movl	$722176, %eax                   ## imm = 0xB0500
	andl	$3, %ecx
	jne	LBB0_32
LBB0_23:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_25
## %bb.24:
	movl	%ebx, %ecx
	movl	$787456, %eax                   ## imm = 0xC0400
	andl	$3, %ecx
	jne	LBB0_32
LBB0_25:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_27
## %bb.26:
	movl	%ebx, %ecx
	movl	$852736, %eax                   ## imm = 0xD0300
	andl	$3, %ecx
	jne	LBB0_32
LBB0_27:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_29
## %bb.28:
	movl	%ebx, %ecx
	movl	$918016, %eax                   ## imm = 0xE0200
	andl	$3, %ecx
	jne	LBB0_32
LBB0_29:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_31
## %bb.30:
	movl	%ebx, %ecx
	movl	$983296, %eax                   ## imm = 0xF0100
	andl	$3, %ecx
	jne	LBB0_32
LBB0_31:
	roll	$30, %ebx
	leaq	L_.str(%rip), %rdi
	movl	$16, %esi
	movl	%ebx, %edx
	callq	_DIE
	movl	$1048576, %eax                  ## imm = 0x100000
LBB0_32:
	orl	%eax, %ebx
LBB0_33:
	movzwl	%bx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"immediate cannot be encoded (%d, %d)\n"

	.no_dead_strip	_rimm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rimm
_rimm:                                  ; @rimm
	.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, #256
	b.lo	LBB0_7
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ror	w19, w19, #2
	add	w20, w20, #1
	cmp	w20, #16
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, #255
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w8, w19, #0x3
	cbz	w8, LBB0_2
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #16
	mov	x2, x19
	bl	_DIE
LBB0_6:
	mov	w8, #65280
	orr	w9, wzr, #0x1000
	madd	w8, w20, w8, w9
	orr	w19, w8, w19
LBB0_7:
	and	w0, w19, #0xffff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"immediate cannot be encoded (%d, %d)\n"

	.no_dead_strip	_rimm
.subsections_via_symbols
