	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dir_iter
_dir_iter:                              ## @dir_iter
	.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	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, %r14d
	movq	$0, (%r8)
	leaq	8(%rcx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movl	%r14d, %edi
	movq	%r15, %rcx
	callq	_hx509_certs_next_cert
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%r15)
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rsi
	movq	8(%r13), %rdx
	movl	%r14d, %edi
	callq	_hx509_certs_end_seq
	movq	$0, 8(%r13)
	movq	%r13, %rdi
	callq	_hx509_certs_free
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r13), %edi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %ecx
	leaq	-56(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_asprintf
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rsi
	movl	%r14d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_hx509_certs_init
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rsi
	movl	%r14d, %edi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_hx509_certs_start_seq
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_hx509_certs_free
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, (%r13)
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi
	callq	_free
	jmp	LBB0_1
LBB0_16:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_3:
	movl	%eax, %ebx
	movq	(%r13), %rsi
	movq	8(%r13), %rdx
	movl	%r14d, %edi
	callq	_hx509_certs_end_seq
	movq	$0, 8(%r13)
	movq	%r13, %rdi
	callq	_hx509_certs_free
	jmp	LBB0_17
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %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	"."

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

L_.str.2:                               ## @.str.2
	.asciz	"FILE:%s/%s"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_dir_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dir_iter
_dir_iter:                              ; @dir_iter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x0
	str	xzr, [x4]
	add	x23, x3, #8
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh4:
	adrp	x26, l_.str.2@PAGE
Lloh5:
	add	x26, x26, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19]
	cbz	x1, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x2, [x23]
	mov	x0, x20
	mov	x3, x21
	bl	_hx509_certs_next_cert
	cbnz	w0, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x21]
	cbnz	x8, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	x1, x2, [x19]
	mov	x0, x20
	bl	_hx509_certs_end_seq
	str	xzr, [x19, #8]
	mov	x0, x19
	bl	_hx509_certs_free
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19, #16]
	bl	_readdir
	cbz	x0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x27, x0
	ldr	w0, [x0]
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x27]
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w3, [x27]
	add	x0, sp, #8
	mov	x1, x26
	mov	x2, x22
	bl	_asprintf
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x20
	mov	w2, #0
	mov	x3, #0
	mov	x4, x19
	bl	_hx509_certs_init
	cbnz	w0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x23
	bl	_hx509_certs_start_seq
	cbz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_hx509_certs_free
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	str	xzr, [x19]
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_1
LBB0_14:
	mov	w27, #0
	b	LBB0_17
LBB0_15:
	mov	x27, x0
	ldp	x1, x2, [x19]
	mov	x0, x20
	bl	_hx509_certs_end_seq
	str	xzr, [x19, #8]
	mov	x0, x19
	bl	_hx509_certs_free
	b	LBB0_17
LBB0_16:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w27, [x8]
LBB0_17:
	mov	x0, x27
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

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

l_.str.2:                               ; @.str.2
	.asciz	"FILE:%s/%s"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_dir_iter
.subsections_via_symbols
