	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_hi20_imm
_calc_hi20_imm:                         ## @calc_hi20_imm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	4096(%rdi), %eax
	testl	$2048, %edi                     ## imm = 0x800
	cmovel	%edi, %eax
	andl	$-4096, %eax                    ## imm = 0xF000
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calc_hi20_imm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_hi20_imm
_calc_hi20_imm:                         ; @calc_hi20_imm
	.cfi_startproc
; %bb.0:
	add	w8, w0, #1, lsl #12             ; =4096
	tst	w0, #0x800
	csel	w8, w0, w8, eq
	and	w0, w8, #0xfffff000
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calc_hi20_imm
.subsections_via_symbols
