	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DragonFlyBSDProcessList_scanJails
_DragonFlyBSDProcessList_scanJails:     ## @DragonFlyBSDProcessList_scanJails
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	leaq	-56(%rbp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.1:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.2:
	leaq	L_.str(%rip), %r15
	leaq	-56(%rbp), %r12
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	callq	_xMalloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_free
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
	jmp	LBB0_18
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_Hashtable_delete
LBB0_10:
	movl	$20, %edi
	movl	$1, %esi
	callq	_Hashtable_new
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	L_.str.4(%rip), %r15
	movq	%r13, %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rbx
	testq	%r14, %r14
	je	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r14
	incq	%r14
	movb	$0, (%rax)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%r14d, %r14d
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strtok
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, %r12d
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_strtok
	movq	%rax, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	%r12d, %esi
	callq	_Hashtable_get
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_xStrdup
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdi
	movl	%r12d, %esi
	movq	%rax, %rdx
	callq	_Hashtable_put
	jmp	LBB0_16
LBB0_17:
	movq	%r13, %rdi
	callq	_free
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
	movl	$4, %edi
	callq	_exit
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	movl	$5, %edi
	callq	_exit
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$3, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"jail.list"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"initial sysctlbyname / jail.list failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"xMalloc failed\n"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"sysctlbyname / jail.list failed\n"

L_.str.4:                               ## @.str.4
	.asciz	" "

	.no_dead_strip	_DragonFlyBSDProcessList_scanJails
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DragonFlyBSDProcessList_scanJails
_DragonFlyBSDProcessList_scanJails:     ; @DragonFlyBSDProcessList_scanJails
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.1:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_16
; %bb.2:
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x22, _errno@GOTPAGE
Lloh5:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh6:
	adrp	x23, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ENOMEM@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_xMalloc
	cbz	x0, LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_free
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_3
	b	LBB0_16
LBB0_7:
	ldr	x0, [x19]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_Hashtable_delete
LBB0_9:
	mov	w0, #20
	mov	w1, #1
	bl	_Hashtable_new
	str	x0, [x19]
Lloh8:
	adrp	x21, l_.str.4@PAGE
Lloh9:
	add	x21, x21, l_.str.4@PAGEOFF
	mov	x23, x20
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x23, x22
	cbz	x22, LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #10
	bl	_strchr
	mov	x22, x0
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	strb	wzr, [x22], #1
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_strtok
	bl	_atoi
	mov	x23, x0
	mov	x0, #0
	mov	x1, x21
	bl	_strtok
	mov	x24, x0
	ldr	x0, [x19]
	mov	x1, x23
	bl	_Hashtable_get
	cbnz	x0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x24
	bl	_xStrdup
	mov	x2, x0
	ldr	x0, [x19]
	mov	x1, x23
	bl	_Hashtable_put
	b	LBB0_10
LBB0_15:
	mov	x0, x20
	bl	_free
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	mov	w0, #4
	bl	_exit
LBB0_18:
Lloh15:
	adrp	x8, _stderr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w0, #5
	bl	_exit
LBB0_19:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #3
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"jail.list"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"initial sysctlbyname / jail.list failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"xMalloc failed\n"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"sysctlbyname / jail.list failed\n"

l_.str.4:                               ; @.str.4
	.asciz	" "

	.no_dead_strip	_DragonFlyBSDProcessList_scanJails
.subsections_via_symbols
