	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wrp_immed
_wrp_immed:                             ## @wrp_immed
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	-28(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movl	%ebx, %edi
	callq	_pack_immed
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-28(%rbp), %edx
	movq	_IMMED_WIDTH_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-32(%rbp), %r9d
	movq	%r15, %rdi
	movl	%r14d, %esi
LBB0_5:
	xorl	%r8d, %r8d
	jmp	LBB0_6
LBB0_2:
	movl	%ebx, %edi
	notl	%edi
	leaq	-28(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	_pack_immed
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-28(%rbp), %edx
	movq	_IMMED_WIDTH_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-32(%rbp), %r9d
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$1, %r8d
LBB0_6:
	callq	_emit_immed
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movzwl	%bx, %edx
	movq	_IMMED_WIDTH_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IMMED_SHIFT_0B@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	callq	_emit_immed
	sarl	$16, %ebx
	movq	_IMMED_WIDTH_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IMMED_SHIFT_2B@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_IMMED_WIDTH_ALL,4,2            ## @IMMED_WIDTH_ALL
	.comm	_IMMED_SHIFT_0B,4,2             ## @IMMED_SHIFT_0B
	.comm	_IMMED_WIDTH_WORD,4,2           ## @IMMED_WIDTH_WORD
	.comm	_IMMED_SHIFT_2B,4,2             ## @IMMED_SHIFT_2B
	.no_dead_strip	_wrp_immed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wrp_immed
_wrp_immed:                             ; @wrp_immed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #8
	add	x2, sp, #12
	mov	x0, x21
	bl	_pack_immed
	cbz	x0, LBB0_3
; %bb.1:
	ldp	w2, w5, [sp, #8]
Lloh0:
	adrp	x8, _IMMED_WIDTH_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IMMED_WIDTH_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	b	LBB0_5
LBB0_3:
	mvn	w0, w21
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_pack_immed
	cbz	x0, LBB0_6
; %bb.4:
	ldp	w2, w5, [sp, #8]
Lloh3:
	adrp	x8, _IMMED_WIDTH_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IMMED_WIDTH_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #1
LBB0_5:
	bl	_emit_immed
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	and	w2, w21, #0xffff
Lloh6:
	adrp	x8, _IMMED_WIDTH_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IMMED_WIDTH_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _IMMED_SHIFT_0B@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IMMED_SHIFT_0B@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	bl	_emit_immed
	asr	w2, w21, #16
Lloh12:
	adrp	x8, _IMMED_WIDTH_WORD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IMMED_WIDTH_WORD@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x8, _IMMED_SHIFT_2B@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IMMED_SHIFT_2B@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IMMED_WIDTH_ALL,4,2            ; @IMMED_WIDTH_ALL
	.comm	_IMMED_SHIFT_0B,4,2             ; @IMMED_SHIFT_0B
	.comm	_IMMED_WIDTH_WORD,4,2           ; @IMMED_WIDTH_WORD
	.comm	_IMMED_SHIFT_2B,4,2             ; @IMMED_SHIFT_2B
	.no_dead_strip	_wrp_immed
.subsections_via_symbols
