	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_new_file                   ## -- Begin function BIO_new_file
	.p2align	4, 0x90
_BIO_new_file:                          ## @BIO_new_file
	.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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_openssl_fopen
	movq	%rax, %r14
	movq	_BIO_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	movl	$98, %esi
	callq	_strchr
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_BIO_FP_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_BIO_s_file
	movl	%eax, %edi
	callq	_BIO_new
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %rbx
	orl	%r13d, %r12d
	movq	_BIO_FLAGS_UPLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BIO_clear_flags
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_BIO_set_fp
	jmp	LBB0_11
LBB0_5:
	movq	_SYS_F_FOPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_get_last_sys_error
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_SYSerr
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r9
	movl	$5, %edi
	movq	%r15, %rdx
	movq	%rbx, %r8
	callq	_ERR_add_error_data
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movq	_BIO_F_BIO_NEW_FILE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_BIO_R_NO_SUCH_FILE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	%r14, %rdi
	callq	_fclose
	jmp	LBB0_10
LBB0_8:
	movq	_ERR_R_SYS_LIB@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_BIOerr
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_CLOSE,4,2                  ## @BIO_CLOSE
	.comm	_BIO_FP_TEXT,4,2                ## @BIO_FP_TEXT
	.comm	_SYS_F_FOPEN,4,2                ## @SYS_F_FOPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fopen('"

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

L_.str.2:                               ## @.str.2
	.asciz	"')"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_BIO_F_BIO_NEW_FILE,4,2         ## @BIO_F_BIO_NEW_FILE
	.comm	_BIO_R_NO_SUCH_FILE,4,2         ## @BIO_R_NO_SUCH_FILE
	.comm	_ERR_R_SYS_LIB,4,2              ## @ERR_R_SYS_LIB
	.comm	_BIO_FLAGS_UPLINK,4,2           ## @BIO_FLAGS_UPLINK
	.comm	_ENXIO,8,3                      ## @ENXIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_new_file                   ; -- Begin function BIO_new_file
	.p2align	2
_BIO_new_file:                          ; @BIO_new_file
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
	bl	_openssl_fopen
	mov	x19, x0
Lloh0:
	adrp	x8, _BIO_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIO_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x20
	mov	w1, #98
	bl	_strchr
Lloh3:
	adrp	x8, _BIO_FP_TEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIO_FP_TEXT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w23, w8, wzr, eq
	cbz	x19, LBB0_3
; %bb.1:
	bl	_BIO_s_file
	bl	_BIO_new
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.2:
	orr	w21, w23, w22
Lloh6:
	adrp	x8, _BIO_FLAGS_UPLINK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BIO_FLAGS_UPLINK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BIO_clear_flags
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_BIO_set_fp
	b	LBB0_8
LBB0_3:
Lloh9:
	adrp	x8, _SYS_F_FOPEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SYS_F_FOPEN@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	bl	_get_last_sys_error
	mov	x1, x0
	mov	x0, x19
	bl	_SYSerr
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
Lloh14:
	adrp	x3, l_.str.1@PAGE
Lloh15:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh16:
	adrp	x5, l_.str.2@PAGE
Lloh17:
	add	x5, x5, l_.str.2@PAGEOFF
	mov	w0, #5
	mov	x2, x21
	mov	x4, x20
	bl	_ERR_add_error_data
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	adrp	x9, _ENOENT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x10, _BIO_F_BIO_NEW_FILE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _BIO_F_BIO_NEW_FILE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x10]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh27:
	adrp	x8, _BIO_R_NO_SUCH_FILE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BIO_R_NO_SUCH_FILE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_fclose
	b	LBB0_8
LBB0_6:
Lloh29:
	adrp	x8, _ERR_R_SYS_LIB@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERR_R_SYS_LIB@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	bl	_BIOerr
	mov	x20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_CLOSE,4,2                  ; @BIO_CLOSE
	.comm	_BIO_FP_TEXT,4,2                ; @BIO_FP_TEXT
	.comm	_SYS_F_FOPEN,4,2                ; @SYS_F_FOPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fopen('"

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

l_.str.2:                               ; @.str.2
	.asciz	"')"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_BIO_F_BIO_NEW_FILE,4,2         ; @BIO_F_BIO_NEW_FILE
	.comm	_BIO_R_NO_SUCH_FILE,4,2         ; @BIO_R_NO_SUCH_FILE
	.comm	_ERR_R_SYS_LIB,4,2              ; @ERR_R_SYS_LIB
	.comm	_BIO_FLAGS_UPLINK,4,2           ; @BIO_FLAGS_UPLINK
	.comm	_ENXIO,8,3                      ; @ENXIO
.subsections_via_symbols
