	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_arm_immediate
_encode_arm_immediate:                  ## @encode_arm_immediate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_rotate_left
	cmpl	$255, %eax
	ja	LBB0_2
## %bb.1:
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_2:
	movl	%r14d, %edi
	movl	$2, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_4
## %bb.3:
	movl	$256, %ebx                      ## imm = 0x100
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_4:
	movl	%r14d, %edi
	movl	$4, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_6
## %bb.5:
	movl	$512, %ebx                      ## imm = 0x200
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_6:
	movl	%r14d, %edi
	movl	$6, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_8
## %bb.7:
	movl	$768, %ebx                      ## imm = 0x300
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_8:
	movl	%r14d, %edi
	movl	$8, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_10
## %bb.9:
	movl	$1024, %ebx                     ## imm = 0x400
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_10:
	movl	%r14d, %edi
	movl	$10, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_12
## %bb.11:
	movl	$1280, %ebx                     ## imm = 0x500
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_12:
	movl	%r14d, %edi
	movl	$12, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_14
## %bb.13:
	movl	$1536, %ebx                     ## imm = 0x600
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_14:
	movl	%r14d, %edi
	movl	$14, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_16
## %bb.15:
	movl	$1792, %ebx                     ## imm = 0x700
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_16:
	movl	%r14d, %edi
	movl	$16, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_18
## %bb.17:
	movl	$2048, %ebx                     ## imm = 0x800
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_18:
	movl	%r14d, %edi
	movl	$18, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_20
## %bb.19:
	movl	$2304, %ebx                     ## imm = 0x900
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_20:
	movl	%r14d, %edi
	movl	$20, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_22
## %bb.21:
	movl	$2560, %ebx                     ## imm = 0xA00
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_22:
	movl	%r14d, %edi
	movl	$22, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_24
## %bb.23:
	movl	$2816, %ebx                     ## imm = 0xB00
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_24:
	movl	%r14d, %edi
	movl	$24, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_26
## %bb.25:
	movl	$3072, %ebx                     ## imm = 0xC00
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_26:
	movl	%r14d, %edi
	movl	$26, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_28
## %bb.27:
	movl	$3328, %ebx                     ## imm = 0xD00
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_28:
	movl	%r14d, %edi
	movl	$28, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_30
## %bb.29:
	movl	$3584, %ebx                     ## imm = 0xE00
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_30:
	movl	%r14d, %edi
	movl	$30, %esi
	callq	_rotate_left
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_32
## %bb.31:
	movl	$3840, %ebx                     ## imm = 0xF00
	orl	%eax, %ebx
	jmp	LBB0_33
LBB0_32:
	movq	_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_33:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAIL,4,2                       ## @FAIL
	.no_dead_strip	_encode_arm_immediate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_arm_immediate
_encode_arm_immediate:                  ; @encode_arm_immediate
	.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
	mov	w1, #0
	bl	_rotate_left
	cmp	w0, #255
	b.hi	LBB0_2
; %bb.1:
	mov	w8, #0
	orr	w0, w0, wzr
	b	LBB0_33
LBB0_2:
	mov	x0, x19
	mov	w1, #2
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_4
; %bb.3:
	mov	w8, #256
	orr	w0, w0, w8
	b	LBB0_33
LBB0_4:
	mov	x0, x19
	mov	w1, #4
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_6
; %bb.5:
	mov	w8, #512
	orr	w0, w0, w8
	b	LBB0_33
LBB0_6:
	mov	x0, x19
	mov	w1, #6
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_8
; %bb.7:
	mov	w8, #768
	orr	w0, w0, w8
	b	LBB0_33
LBB0_8:
	mov	x0, x19
	mov	w1, #8
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_10
; %bb.9:
	mov	w8, #1024
	orr	w0, w0, w8
	b	LBB0_33
LBB0_10:
	mov	x0, x19
	mov	w1, #10
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_12
; %bb.11:
	mov	w8, #1280
	orr	w0, w0, w8
	b	LBB0_33
LBB0_12:
	mov	x0, x19
	mov	w1, #12
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_14
; %bb.13:
	mov	w8, #1536
	orr	w0, w0, w8
	b	LBB0_33
LBB0_14:
	mov	x0, x19
	mov	w1, #14
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_16
; %bb.15:
	mov	w8, #1792
	orr	w0, w0, w8
	b	LBB0_33
LBB0_16:
	mov	x0, x19
	mov	w1, #16
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_18
; %bb.17:
	mov	w8, #2048
	orr	w0, w0, w8
	b	LBB0_33
LBB0_18:
	mov	x0, x19
	mov	w1, #18
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_20
; %bb.19:
	mov	w8, #2304
	orr	w0, w0, w8
	b	LBB0_33
LBB0_20:
	mov	x0, x19
	mov	w1, #20
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_22
; %bb.21:
	mov	w8, #2560
	orr	w0, w0, w8
	b	LBB0_33
LBB0_22:
	mov	x0, x19
	mov	w1, #22
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_24
; %bb.23:
	mov	w8, #2816
	orr	w0, w0, w8
	b	LBB0_33
LBB0_24:
	mov	x0, x19
	mov	w1, #24
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_26
; %bb.25:
	mov	w8, #3072
	orr	w0, w0, w8
	b	LBB0_33
LBB0_26:
	mov	x0, x19
	mov	w1, #26
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_28
; %bb.27:
	mov	w8, #3328
	orr	w0, w0, w8
	b	LBB0_33
LBB0_28:
	mov	x0, x19
	mov	w1, #28
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_30
; %bb.29:
	mov	w8, #3584
	orr	w0, w0, w8
	b	LBB0_33
LBB0_30:
	mov	x0, x19
	mov	w1, #30
	bl	_rotate_left
	cmp	w0, #256
	b.hs	LBB0_32
; %bb.31:
	mov	w8, #3840
	orr	w0, w0, w8
	b	LBB0_33
LBB0_32:
Lloh0:
	adrp	x8, _FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_33:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FAIL,4,2                       ; @FAIL
	.no_dead_strip	_encode_arm_immediate
.subsections_via_symbols
