	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eli_protect
_eli_protect:                           ## @eli_protect
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movq	_RLIMIT_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	callq	_setrlimit
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	_MCL_FUTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mlockall
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rbx
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_gctl_error
	movl	$-1, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RLIMIT_CORE,4,2                ## @RLIMIT_CORE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot disable core dumps: %s."

	.comm	_errno,4,2                      ## @errno
	.comm	_MCL_FUTURE,4,2                 ## @MCL_FUTURE
L_.str.1:                               ## @.str.1
	.asciz	"Cannot lock memory: %s."

	.no_dead_strip	_eli_protect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eli_protect
_eli_protect:                           ; @eli_protect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _RLIMIT_CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RLIMIT_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_setrlimit
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _MCL_FUTURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCL_FUTURE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_mlockall
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_5:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_gctl_error
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RLIMIT_CORE,4,2                ; @RLIMIT_CORE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot disable core dumps: %s."

	.comm	_errno,4,2                      ; @errno
	.comm	_MCL_FUTURE,4,2                 ; @MCL_FUTURE
l_.str.1:                               ; @.str.1
	.asciz	"Cannot lock memory: %s."

	.no_dead_strip	_eli_protect
.subsections_via_symbols
