	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_store_attach_pem_bio      ## -- Begin function ossl_store_attach_pem_bio
	.p2align	4, 0x90
_ossl_store_attach_pem_bio:             ## @ossl_store_attach_pem_bio
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_ossl_store_get0_loader_int
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ossl_store_file_attach_pem_bio_int
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r12
	movl	$48, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r13, 40(%rax)
	movq	%r12, 32(%rax)
	movq	%r15, 24(%rax)
	movq	%r14, 16(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	jmp	LBB0_6
LBB0_4:
	movq	_OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OSSL_STOREerr
	movq	%r12, %rdi
	callq	*(%r13)
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %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	"file"

	.comm	_OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO,4,2 ## @OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO
	.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_attach_pem_bio      ; -- Begin function ossl_store_attach_pem_bio
	.p2align	2
_ossl_store_attach_pem_bio:             ; @ossl_store_attach_pem_bio
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ossl_store_get0_loader_int
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x22
	bl	_ossl_store_file_attach_pem_bio_int
	cbz	x0, LBB0_5
; %bb.2:
	mov	x22, x0
	mov	w0, #48
	bl	_OPENSSL_zalloc
	cbz	x0, LBB0_4
; %bb.3:
	stp	x22, x20, [x0, #32]
	stp	x19, x21, [x0, #16]
	stp	xzr, xzr, [x0]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_OSSL_STOREerr
	ldr	x8, [x20]
	mov	x0, x22
	blr	x8
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

	.comm	_OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO,4,2 ; @OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
