	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pack_immed
_pack_immed:                            ## @pack_immed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$65536, %edi                    ## imm = 0x10000
	jae	LBB0_2
## %bb.1:
	movq	_IMMED_SHIFT_0B@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	testl	$-16776961, %edi                ## imm = 0xFF0000FF
	je	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	testw	%di, %di
	je	LBB0_5
## %bb.7:
	popq	%rbp
	retq
LBB0_3:
	shrl	$8, %edi
	movq	_IMMED_SHIFT_1B@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	sarl	$16, %edi
	movq	_IMMED_SHIFT_2B@GOTPCREL(%rip), %rax
LBB0_6:
	movl	%edi, (%rsi)
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMMED_SHIFT_0B,4,2             ## @IMMED_SHIFT_0B
	.comm	_IMMED_SHIFT_1B,4,2             ## @IMMED_SHIFT_1B
	.comm	_IMMED_SHIFT_2B,4,2             ## @IMMED_SHIFT_2B
	.no_dead_strip	_pack_immed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pack_immed
_pack_immed:                            ; @pack_immed
	.cfi_startproc
; %bb.0:
	cmp	w0, #16, lsl #12                ; =65536
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IMMED_SHIFT_0B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IMMED_SHIFT_0B@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	tst	w0, #0xff0000ff
	b.eq	LBB0_5
; %bb.3:
	tst	w0, #0xffff
	b.eq	LBB0_6
; %bb.4:
	mov	w0, #0
	ret
LBB0_5:
	lsr	w0, w0, #8
Lloh2:
	adrp	x8, _IMMED_SHIFT_1B@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IMMED_SHIFT_1B@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	asr	w0, w0, #16
Lloh4:
	adrp	x8, _IMMED_SHIFT_2B@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IMMED_SHIFT_2B@GOTPAGEOFF]
LBB0_7:
	str	w0, [x1]
	ldr	w8, [x8]
	str	w8, [x2]
	mov	w0, #1
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IMMED_SHIFT_0B,4,2             ; @IMMED_SHIFT_0B
	.comm	_IMMED_SHIFT_1B,4,2             ; @IMMED_SHIFT_1B
	.comm	_IMMED_SHIFT_2B,4,2             ; @IMMED_SHIFT_2B
	.no_dead_strip	_pack_immed
.subsections_via_symbols
