	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apply_int_mask                 ## -- Begin function apply_int_mask
	.p2align	4, 0x90
_apply_int_mask:                        ## @apply_int_mask
	.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
	movq	%rdi, %r14
	movq	_calc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_3
LBB0_7:
	movl	$-1, %esi
	callq	_mpz_init_set_si
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
LBB0_3:
	movl	$16, %edx
	callq	_mpz_init_set_str
LBB0_8:
	callq	_mpz_init
	movl	(%r14), %esi
	movq	_MPFR_DEFAULT_RND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_mpfr_get_z
	callq	_mpz_and
	movl	(%r14), %edi
	movl	(%rbx), %edx
	callq	_mpfr_set_z
	callq	_mpz_clear
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mpz_clear                      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_calc,4,2                       ## @calc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FFFFFFFFFFFFFFFF"

L_.str.1:                               ## @.str.1
	.asciz	"00000000FFFFFFFF"

L_.str.2:                               ## @.str.2
	.asciz	"000000000000FFFF"

L_.str.3:                               ## @.str.3
	.asciz	"00000000000000FF"

	.comm	_MPFR_DEFAULT_RND,4,2           ## @MPFR_DEFAULT_RND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apply_int_mask                 ; -- Begin function apply_int_mask
	.p2align	2
_apply_int_mask:                        ; @apply_int_mask
	.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
Lloh0:
	adrp	x8, _calc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _calc@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_3:
	mov	w1, #-1
	bl	_mpz_init_set_si
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_7:
	mov	w2, #16
	bl	_mpz_init_set_str
LBB0_8:
	bl	_mpz_init
	ldr	w1, [x19]
Lloh13:
	adrp	x20, _MPFR_DEFAULT_RND@GOTPAGE
Lloh14:
	ldr	x20, [x20, _MPFR_DEFAULT_RND@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_mpfr_get_z
	bl	_mpz_and
	ldr	w0, [x19]
	ldr	w2, [x20]
	bl	_mpfr_set_z
	bl	_mpz_clear
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mpz_clear
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_calc,4,2                       ; @calc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FFFFFFFFFFFFFFFF"

l_.str.1:                               ; @.str.1
	.asciz	"00000000FFFFFFFF"

l_.str.2:                               ; @.str.2
	.asciz	"000000000000FFFF"

l_.str.3:                               ; @.str.3
	.asciz	"00000000000000FF"

	.comm	_MPFR_DEFAULT_RND,4,2           ; @MPFR_DEFAULT_RND
.subsections_via_symbols
