	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OSSL_STORE_open                ## -- Begin function OSSL_STORE_open
	.p2align	4, 0x90
_OSSL_STORE_open:                       ## @OSSL_STORE_open
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -352(%rbp)                 ## 8-byte Spill
	movl	%ecx, -324(%rbp)                ## 4-byte Spill
	movq	%rdx, -344(%rbp)                ## 8-byte Spill
	movq	%rsi, -336(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -320(%rbp)
	leaq	-304(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$256, %edx                      ## imm = 0x100
	callq	_OPENSSL_strlcpy
	movq	%r14, %rdi
	movl	$58, %esi
	callq	_strchr
	movl	$1, %r12d
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r15
	movb	$0, (%rax)
	leaq	L_.str(%rip), %rsi
	leaq	-304(%rbp), %r14
	movq	%r14, %rdi
	callq	_strcasecmp
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	incq	%r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_strncmp
	xorl	%r13d, %r13d
	testq	%rax, %rax
	setne	%r13b
	movq	%r14, -320(%rbp,%r13,8)
	incq	%r13
LBB0_3:
	xorl	%eax, %eax
	callq	_ERR_set_mark
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-328(%rbp,%r12,8), %rdi
	callq	_ossl_store_get0_loader_int
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-336(%rbp), %rdx                ## 8-byte Reload
	movq	-344(%rbp), %rcx                ## 8-byte Reload
	callq	*8(%r14)
	movq	%rax, %r15
	testq	%r15, %r15
	je	LBB0_8
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r15d, %r15d
	testq	%r15, %r15
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r12), %rax
	cmpq	%r13, %r12
	movq	%rax, %r12
	jb	LBB0_4
LBB0_9:
	testq	%r15, %r15
	je	LBB0_10
## %bb.11:
	movl	$48, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	movq	%r14, 40(%rax)
	movq	%r15, 32(%rax)
	movq	-336(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	-344(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movl	-324(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 8(%rbx)
	movq	-352(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_ERR_pop_to_mark
	jmp	LBB0_14
LBB0_10:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ERR_clear_last_mark
	jmp	LBB0_14
LBB0_13:
	movq	_OSSL_STORE_F_OSSL_STORE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OSSL_STOREerr
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ERR_clear_last_mark
	movq	%r15, %rdi
	callq	*(%r14)
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	%rbx, %rax
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file"

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

	.comm	_OSSL_STORE_F_OSSL_STORE_OPEN,4,2 ## @OSSL_STORE_F_OSSL_STORE_OPEN
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OSSL_STORE_open                ; -- Begin function OSSL_STORE_open
	.p2align	2
_OSSL_STORE_open:                       ; @OSSL_STORE_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #8]
	add	x0, sp, #24
	mov	x1, x23
	mov	w2, #256
	bl	_OPENSSL_strlcpy
	add	x0, sp, #24
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.1:
	mov	x24, x0
	strb	wzr, [x0]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x25, sp, #24
	add	x0, sp, #24
	bl	_strcasecmp
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, x24, #1
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cmp	x0, #0
	cset	w8, ne
	mov	w9, #1
	cinc	x26, x9, ne
	add	x9, sp, #8
	str	x25, [x9, w8, uxtw #3]
	b	LBB0_4
LBB0_3:
	mov	w26, #1
LBB0_4:
	bl	_ERR_set_mark
	ldr	x0, [sp, #8]
	bl	_ossl_store_get0_loader_int
	mov	x24, x0
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x24, #8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	blr	x8
	mov	x25, x0
	b	LBB0_7
LBB0_6:
	mov	x25, #0
LBB0_7:
	cmp	x25, #0
	cset	w8, eq
	cbnz	x25, LBB0_13
; %bb.8:
	cmp	x26, #2
	b.lo	LBB0_13
; %bb.9:
	ldr	x0, [sp, #16]
	bl	_ossl_store_get0_loader_int
	mov	x24, x0
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x24, #8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	blr	x8
	mov	x25, x0
	b	LBB0_12
LBB0_11:
	mov	x25, #0
LBB0_12:
	cmp	x25, #0
	cset	w8, eq
LBB0_13:
	cbz	w8, LBB0_15
; %bb.14:
	bl	_ERR_clear_last_mark
	mov	x23, #0
	b	LBB0_18
LBB0_15:
	mov	w0, #48
	bl	_OPENSSL_zalloc
	mov	x23, x0
	cbz	x0, LBB0_17
; %bb.16:
	stp	x25, x24, [x23, #32]
	stp	x21, x22, [x23, #16]
	str	w20, [x23, #8]
	str	x19, [x23]
	bl	_ERR_pop_to_mark
	b	LBB0_18
LBB0_17:
Lloh9:
	adrp	x8, _OSSL_STORE_F_OSSL_STORE_OPEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSSL_STORE_F_OSSL_STORE_OPEN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_OSSL_STOREerr
	bl	_ERR_clear_last_mark
	ldr	x8, [x24]
	mov	x0, x25
	blr	x8
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x23
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

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

	.comm	_OSSL_STORE_F_OSSL_STORE_OPEN,4,2 ; @OSSL_STORE_F_OSSL_STORE_OPEN
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
