	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function db_build
_db_build:                              ## @db_build
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rsi
	movq	$0, -80(%rbp)
	movq	$0, -64(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	callq	_cgetnext
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_30
## %bb.1:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movq	-48(%rbp), %rdi
	callq	_strlen
	movq	%rax, %r13
	leaq	2(%rax), %r12
	cmpq	%r12, %r15
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$256, %edi                      ## imm = 0x100
	movq	%r12, %rsi
	callq	_MAX
	addq	%rax, %r15
	movq	-80(%rbp), %rdi
	movq	%r15, %rsi
	callq	_realloc
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	cmpl	$2, %r14d
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1, %r14d
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_RECOK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-80(%rbp), %rcx
	movb	%al, (%rcx)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movl	$20, %esi
	callq	_MIN
	movq	-48(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_TCERR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-80(%rbp), %rcx
	movb	%al, (%rcx)
	movq	-48(%rbp), %rdx
	movl	%ebx, %esi
	subl	%edx, %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_warnx
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rdi
	addq	$4, %rdi
	movq	-48(%rbp), %rsi
	incq	%r13
	movq	%r13, %rdx
	callq	_memmove
	movq	%r12, -72(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	%rbx, %rcx
	subq	%rax, %rcx
	movq	%rcx, -56(%rbp)
	movq	_capdbp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_R_NOOVERWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	callq	*(%rdi)
	cmpl	$1, %eax
	je	LBB0_3
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-56(%rbp), %esi
	movq	-64(%rbp), %rdx
	leaq	L_.str.4(%rip), %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	callq	_warnx
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	-48(%rbp), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_cgetnext
	movl	%eax, %r14d
	testl	%eax, %eax
	jg	LBB0_6
	jmp	LBB0_31
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, (%rbx)
	movq	-48(%rbp), %rdi
	movl	$124, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$58, (%rbx)
	movq	_SHADOW@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-80(%rbp), %rcx
	movb	%al, (%rcx)
	movq	-80(%rbp), %rdi
	addq	$4, %rdi
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rdx
	callq	_memmove
	movq	-56(%rbp), %rax
	incq	%rax
	movq	%rax, -72(%rbp)
	movq	-48(%rbp), %r14
	movq	%r14, %rbx
	movq	%r14, %rax
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_23 Depth=2
	movl	-56(%rbp), %esi
	movq	-64(%rbp), %rdx
	leaq	L_.str.4(%rip), %rdi
	callq	_warnx
LBB0_20:                                ##   in Loop: Header=BB0_23 Depth=2
	leaq	1(%rbx), %rax
LBB0_21:                                ##   in Loop: Header=BB0_23 Depth=2
	movzbl	(%rbx), %ecx
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=2
	incq	%rbx
	incq	%r14
	cmpb	$58, %cl
	je	LBB0_29
LBB0_23:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rax, %rbx
	jbe	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	movzbl	(%rbx), %ecx
	cmpb	$124, %cl
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=2
	cmpb	$58, %cl
	jne	LBB0_22
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=2
	movq	%r14, %rcx
	subq	%rax, %rcx
	movq	%rcx, -56(%rbp)
	movq	%rax, -64(%rbp)
	movq	_capdbp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_R_NOOVERWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	callq	*(%rdi)
	cmpl	$1, %eax
	je	LBB0_19
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=2
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.28:                              ##   in Loop: Header=BB0_23 Depth=2
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
	jmp	LBB0_19
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_30:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_31:
	cmpl	$-2, %r14d
	je	LBB0_34
## %bb.32:
	cmpl	$-1, %r14d
	jne	LBB0_35
## %bb.33:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_34:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_35:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_37
## %bb.36:
	leaq	L_.str.7(%rip), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_printf
LBB0_37:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed"

L_.str.1:                               ## @.str.1
	.asciz	"no name field: %.*s"

	.comm	_RECOK,1,0                      ## @RECOK
	.comm	_TCERR,1,0                      ## @TCERR
L_.str.2:                               ## @.str.2
	.asciz	"record not tc expanded: %.*s"

	.comm	_capdbp,8,3                     ## @capdbp
	.comm	_R_NOOVERWRITE,4,2              ## @R_NOOVERWRITE
L_.str.3:                               ## @.str.3
	.asciz	"put"

L_.str.4:                               ## @.str.4
	.asciz	"ignored duplicate: %.*s"

	.comm	_SHADOW,1,0                     ## @SHADOW
L_.str.5:                               ## @.str.5
	.asciz	"file argument"

L_.str.6:                               ## @.str.6
	.asciz	"potential reference loop detected"

	.comm	_verbose,8,3                    ## @verbose
L_.str.7:                               ## @.str.7
	.asciz	"cap_mkdb: %d capability records\n"

	.no_dead_strip	_db_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function db_build
_db_build:                              ; @db_build
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	str	xzr, [sp, #16]
	str	xzr, [sp, #32]
	add	x0, sp, #8
	mov	x1, x20
	bl	_cgetnext
	mov	x27, x0
	cmp	w0, #1
	b.lt	LBB0_30
; %bb.1:
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
	mov	x21, #0
Lloh0:
	adrp	x22, l_.str.1@PAGE
Lloh1:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh2:
	adrp	x23, _capdbp@GOTPAGE
Lloh3:
	ldr	x23, [x23, _capdbp@GOTPAGEOFF]
Lloh4:
	adrp	x25, _R_NOOVERWRITE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _R_NOOVERWRITE@GOTPAGEOFF]
Lloh6:
	adrp	x24, l_.str.4@PAGE
Lloh7:
	add	x24, x24, l_.str.4@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	ldr	x0, [sp, #8]
	bl	_strlen
	mov	x26, x0
	add	x28, x0, #2
	cmp	x21, x28
	b.hi	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #256
	mov	x1, x28
	bl	_MAX
	add	x21, x0, x21
	ldr	x0, [sp, #16]
	mov	x1, x21
	bl	_realloc
	str	x0, [sp, #16]
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #8]
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x19, x0
	cmp	w27, #2
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w27, #1
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh10:
	adrp	x8, _RECOK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RECOK@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	x9, [sp, #16]
	strb	w8, [x9]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x26
	mov	w1, #20
	bl	_MIN
	mov	x1, x0
	ldr	x2, [sp, #8]
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	b	LBB0_15
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x8, _TCERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TCERR@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	x9, [sp, #16]
	strb	w8, [x9]
	ldr	x2, [sp, #8]
	sub	w1, w19, w2
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x1, x8, [sp, #8]
	add	x0, x8, #4
	add	x2, x26, #1
	bl	_memmove
	ldr	x8, [sp, #8]
	sub	x9, x19, x8
	stp	x28, x8, [sp, #24]
	str	x9, [sp, #40]
	ldr	x0, [x23]
	ldr	x8, [x0]
	ldr	w3, [x25]
	add	x1, sp, #32
	add	x2, sp, #16
	blr	x8
	cmp	w0, #1
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #40]
	ldr	x2, [sp, #32]
	mov	x0, x24
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_warnx
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	mov	x1, x20
	bl	_cgetnext
	mov	x27, x0
	cmp	w0, #0
	b.gt	LBB0_2
	b	LBB0_31
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	wzr, [x19]
	ldr	x0, [sp, #8]
	mov	w1, #124
	bl	_strchr
	cbz	x0, LBB0_29
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #58
	strb	w8, [x19]
Lloh18:
	adrp	x8, _SHADOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SHADOW@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	x9, [sp, #16]
	strb	w8, [x9]
	ldr	x8, [sp, #16]
	add	x0, x8, #4
	ldp	x1, x2, [sp, #32]
	bl	_memmove
	ldr	x8, [sp, #40]
	add	x8, x8, #1
	str	x8, [sp, #24]
	ldr	x19, [sp, #8]
	mov	x26, x19
	mov	x8, x19
	b	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	w1, [sp, #40]
	ldr	x2, [sp, #32]
	mov	x0, x24
	bl	_warnx
LBB0_20:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x8, x26, #1
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=2
	ldrb	w9, [x26]
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x26, x26, #1
	add	x19, x19, #1
	cmp	w9, #58
	b.eq	LBB0_29
LBB0_23:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x26, x8
	b.ls	LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	ldrb	w9, [x26]
	cmp	w9, #124
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=2
	cmp	w9, #58
	b.ne	LBB0_22
LBB0_26:                                ;   in Loop: Header=BB0_23 Depth=2
	sub	x9, x19, x8
	stp	x8, x9, [sp, #32]
	ldr	x0, [x23]
	ldr	x8, [x0]
	ldr	w3, [x25]
	add	x1, sp, #32
	add	x2, sp, #16
	blr	x8
	cmp	w0, #1
	b.eq	LBB0_19
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=2
	cmn	w0, #1
	b.ne	LBB0_20
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	w0, #1
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
	b	LBB0_19
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_16
LBB0_30:
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
LBB0_31:
	cmn	w27, #2
	b.eq	LBB0_34
; %bb.32:
	cmn	w27, #1
	b.ne	LBB0_35
; %bb.33:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_34:
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_35:
Lloh26:
	adrp	x8, _verbose@GOTPAGE
Lloh27:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.36:
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	bl	_printf
LBB0_37:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed"

l_.str.1:                               ; @.str.1
	.asciz	"no name field: %.*s"

	.comm	_RECOK,1,0                      ; @RECOK
	.comm	_TCERR,1,0                      ; @TCERR
l_.str.2:                               ; @.str.2
	.asciz	"record not tc expanded: %.*s"

	.comm	_capdbp,8,3                     ; @capdbp
	.comm	_R_NOOVERWRITE,4,2              ; @R_NOOVERWRITE
l_.str.3:                               ; @.str.3
	.asciz	"put"

l_.str.4:                               ; @.str.4
	.asciz	"ignored duplicate: %.*s"

	.comm	_SHADOW,1,0                     ; @SHADOW
l_.str.5:                               ; @.str.5
	.asciz	"file argument"

l_.str.6:                               ; @.str.6
	.asciz	"potential reference loop detected"

	.comm	_verbose,8,3                    ; @verbose
l_.str.7:                               ; @.str.7
	.asciz	"cap_mkdb: %d capability records\n"

	.no_dead_strip	_db_build
.subsections_via_symbols
