	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enter_jail
_enter_jail:                            ## @enter_jail
	.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	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_bzero
	movq	_JAIL_API_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp)
	movq	_INADDR_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, -24(%rbp)
	movl	$1, -56(%rbp)
	leaq	-24(%rbp), %rax
	movq	%rax, -40(%rbp)
	movq	%rbx, %rdi
	callq	_jail
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rsi
	movl	$-1, %edi
	movq	%r14, %rdx
	callq	_err
LBB0_2:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JAIL_API_VERSION,4,2           ## @JAIL_API_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

L_.str.1:                               ## @.str.1
	.asciz	"test"

L_.str.2:                               ## @.str.2
	.asciz	"regressions/priv"

	.comm	_INADDR_LOOPBACK,4,2            ## @INADDR_LOOPBACK
L_.str.3:                               ## @.str.3
	.asciz	"test %s: jail"

	.comm	_IN6ADDR_LOOPBACK_INIT,4,2      ## @IN6ADDR_LOOPBACK_INIT
	.no_dead_strip	_enter_jail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enter_jail
_enter_jail:                            ; @enter_jail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #56
	bl	_bzero
Lloh0:
	adrp	x8, _JAIL_API_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JAIL_API_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #56]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [sp, #8]
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp, #24]
Lloh9:
	adrp	x8, _INADDR_LOOPBACK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INADDR_LOOPBACK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_htonl
	str	w0, [sp]
	mov	w8, #1
	str	w8, [sp, #32]
	mov	x8, sp
	str	x8, [sp, #48]
	add	x0, sp, #8
	bl	_jail
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #-1
	mov	x2, x19
	bl	_err
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_JAIL_API_VERSION,4,2           ; @JAIL_API_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

l_.str.1:                               ; @.str.1
	.asciz	"test"

l_.str.2:                               ; @.str.2
	.asciz	"regressions/priv"

	.comm	_INADDR_LOOPBACK,4,2            ; @INADDR_LOOPBACK
l_.str.3:                               ; @.str.3
	.asciz	"test %s: jail"

	.comm	_IN6ADDR_LOOPBACK_INIT,4,2      ; @IN6ADDR_LOOPBACK_INIT
	.no_dead_strip	_enter_jail
.subsections_via_symbols
