	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FreeBSDProcessList_readJailName ## -- Begin function FreeBSDProcessList_readJailName
	.p2align	4, 0x90
_FreeBSDProcessList_readJailName:       ## @FreeBSDProcessList_readJailName
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	cmpb	$0, (%r14)
	je	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	leaq	L_.str(%rip), %rax
	movq	%rax, -144(%rbp)
	movl	$4, -136(%rbp)
	movq	%r14, -128(%rbp)
	movl	$1, -120(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -112(%rbp)
	movl	$5, -104(%rbp)
	movq	%r15, -96(%rbp)
	movl	%ebx, -88(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -80(%rbp)
	movl	$7, -72(%rbp)
	movq	_jail_errmsg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)
	movq	_JAIL_ERRMSGLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	%ecx, -56(%rbp)
	movb	$0, (%rax)
	leaq	-144(%rbp), %rdi
	movl	$6, %esi
	xorl	%edx, %edx
	callq	_jail_get
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movsbl	(%r14), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_10
## %bb.3:
	movq	%r15, %rdi
	callq	_xStrdup
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	movl	(%r13), %edx
	callq	_strerror_r
	jmp	LBB0_10
LBB0_5:
	movw	$45, (%r15)
	movq	%r15, %rdi
	callq	_xStrdup
	jmp	LBB0_11
LBB0_6:
	movq	(%rbx), %rbx
	cmpb	$0, (%rbx)
	jne	LBB0_10
## %bb.9:
	movl	(%r13), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	callq	_xSnprintf
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"jid"

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

L_.str.2:                               ## @.str.2
	.asciz	"errmsg"

	.comm	_jail_errmsg,8,3                ## @jail_errmsg
	.comm	_JAIL_ERRMSGLEN,4,2             ## @JAIL_ERRMSGLEN
L_.str.3:                               ## @.str.3
	.asciz	"jail_get: %s"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FreeBSDProcessList_readJailName ; -- Begin function FreeBSDProcessList_readJailName
	.p2align	2
_FreeBSDProcessList_readJailName:       ; @FreeBSDProcessList_readJailName
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #112
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXHOSTNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXHOSTNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	bl	_memset
Lloh8:
	adrp	x8, l_.str@PAGE
Lloh9:
	add	x8, x8, l_.str@PAGEOFF
	stur	x8, [x29, #-152]
	mov	w8, #4
	stur	w8, [x29, #-144]
	stur	x19, [x29, #-136]
	mov	w8, #1
	stur	w8, [x29, #-128]
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
	stur	x8, [x29, #-120]
	mov	w8, #5
	stur	w8, [x29, #-112]
	stur	x20, [x29, #-104]
	stur	w21, [x29, #-96]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
	stur	x8, [x29, #-88]
	mov	w8, #7
	stur	w8, [x29, #-80]
Lloh14:
	adrp	x23, _jail_errmsg@GOTPAGE
Lloh15:
	ldr	x23, [x23, _jail_errmsg@GOTPAGEOFF]
	ldr	x8, [x23]
	stur	x8, [x29, #-72]
Lloh16:
	adrp	x21, _JAIL_ERRMSGLEN@GOTPAGE
Lloh17:
	ldr	x21, [x21, _JAIL_ERRMSGLEN@GOTPAGEOFF]
	ldr	w9, [x21]
	stur	w9, [x29, #-64]
	strb	wzr, [x8]
	sub	x0, x29, #152
	mov	w1, #6
	mov	w2, #0
	bl	_jail_get
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldrsb	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_xStrdup
	cbnz	x0, LBB0_9
; %bb.4:
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x1, [x23]
	ldr	w2, [x21]
	bl	_strerror_r
	b	LBB0_8
LBB0_5:
	mov	w8, #45
	strh	w8, [x20]
	mov	x0, x20
	bl	_xStrdup
	b	LBB0_9
LBB0_6:
	ldr	x19, [x23]
	ldrb	w8, [x19]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w20, [x21]
Lloh21:
	adrp	x8, _errno@GOTPAGE
Lloh22:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_xSnprintf
LBB0_8:
	mov	x0, #0
LBB0_9:
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"jid"

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

l_.str.2:                               ; @.str.2
	.asciz	"errmsg"

	.comm	_jail_errmsg,8,3                ; @jail_errmsg
	.comm	_JAIL_ERRMSGLEN,4,2             ; @JAIL_ERRMSGLEN
l_.str.3:                               ; @.str.3
	.asciz	"jail_get: %s"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
