	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function import_certs_from_path
_import_certs_from_path:                ## @import_certs_from_path
	.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	%rdx, %r13
	movl	%esi, %r12d
	movl	%edi, %ebx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	callq	_debugstr_a
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movq	%r13, %rcx
	callq	_TRACE
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.1:
	movl	%eax, %r15d
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movl	-48(%rbp), %edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_import_certs_from_file
LBB0_4:
	movq	%rax, %r14
LBB0_5:
	movl	%r15d, %edi
	callq	_close
LBB0_6:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	%ebx, %edi
	testq	%r13, %r13
	je	LBB0_11
## %bb.9:
	movl	%r12d, %esi
	callq	_import_certs_from_dir
	jmp	LBB0_4
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_ERR
	jmp	LBB0_5
LBB0_11:
	callq	_debugstr_a
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_WARN
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%s, %p, %d)\n"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.1:                               ## @.str.1
	.asciz	"%s is a directory and directories are disallowed\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: invalid file type\n"

	.no_dead_strip	_import_certs_from_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function import_certs_from_path
_import_certs_from_path:                ; @import_certs_from_path
	.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	x23, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	bl	_debugstr_a
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x23
	bl	_TRACE
Lloh5:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x20, x0
	add	x1, sp, #8
	bl	_fstat
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	w24, [sp, #8]
	mov	x0, x24
	bl	_S_ISREG
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x20
	mov	x1, x22
	bl	_import_certs_from_file
LBB0_4:
	mov	x19, x0
LBB0_5:
	mov	x0, x20
	bl	_close
LBB0_6:
	mov	x0, x19
	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_7:
	mov	x0, x24
	bl	_S_ISDIR
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x21
	cbz	x23, LBB0_11
; %bb.9:
	mov	x1, x22
	bl	_import_certs_from_dir
	b	LBB0_4
LBB0_10:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_ERR
	b	LBB0_5
LBB0_11:
	bl	_debugstr_a
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%s, %p, %d)\n"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.1:                               ; @.str.1
	.asciz	"%s is a directory and directories are disallowed\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: invalid file type\n"

	.no_dead_strip	_import_certs_from_path
.subsections_via_symbols
