	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bio_open_default_
_bio_open_default_:                     ## @bio_open_default_
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r15d
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:
	movsbl	%r15b, %r15d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_modestr
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_BIO_new_file
	movq	%rax, %r12
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.10:
	testq	%r12, %r12
	jne	LBB0_13
## %bb.11:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	callq	_modeverb
	movl	%eax, %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_12
LBB0_2:
	movl	%r12d, %edi
	cmpb	$114, %r15b
	jne	LBB0_4
## %bb.3:
	callq	_dup_bio_in
	jmp	LBB0_5
LBB0_4:
	callq	_dup_bio_out
LBB0_5:
	movq	%rax, %r12
	testl	%r14d, %r14d
	je	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	callq	_ERR_clear_error
LBB0_13:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testq	%r12, %r12
	jne	LBB0_13
## %bb.8:
	cmpb	$114, %r15b
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_12:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_print_errors
	xorl	%r12d, %r12d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

	.comm	_bio_err,4,2                    ## @bio_err
L_.str.1:                               ## @.str.1
	.asciz	"Can't open %s, %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"stdin"

L_.str.3:                               ## @.str.3
	.asciz	"stdout"

	.comm	_errno,4,2                      ## @errno
L_.str.4:                               ## @.str.4
	.asciz	"Can't open %s for %s, %s\n"

	.no_dead_strip	_bio_open_default_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bio_open_default_
_bio_open_default_:                     ; @bio_open_default_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	bl	_modestr
	mov	x1, x0
	mov	x0, x20
	bl	_BIO_new_file
	mov	x22, x0
	cbnz	w21, LBB0_7
; %bb.3:
	cbnz	x22, LBB0_8
; %bb.4:
Lloh2:
	adrp	x8, _bio_err@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_modeverb
	mov	x19, x0
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	b	LBB0_12
LBB0_5:
	mov	x0, x22
	cmp	w19, #114
	b.ne	LBB0_9
; %bb.6:
	bl	_dup_bio_in
	mov	x22, x0
	cbz	w21, LBB0_10
LBB0_7:
	bl	_ERR_clear_error
LBB0_8:
	mov	x0, x22
	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
	add	sp, sp, #64
	ret
LBB0_9:
	bl	_dup_bio_out
	mov	x22, x0
	cbnz	w21, LBB0_7
LBB0_10:
	cbnz	x22, LBB0_8
; %bb.11:
Lloh10:
	adrp	x8, _bio_err@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh12:
	adrp	x9, l_.str.3@PAGE
Lloh13:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh14:
	adrp	x10, l_.str.2@PAGE
Lloh15:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh16:
	ldr	w20, [x8]
	cmp	w19, #114
	csel	x19, x10, x9, eq
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
LBB0_12:
	bl	_BIO_printf
Lloh22:
	adrp	x8, _bio_err@GOTPAGE
Lloh23:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_ERR_print_errors
	mov	x22, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

	.comm	_bio_err,4,2                    ; @bio_err
l_.str.1:                               ; @.str.1
	.asciz	"Can't open %s, %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"stdin"

l_.str.3:                               ; @.str.3
	.asciz	"stdout"

	.comm	_errno,4,2                      ; @errno
l_.str.4:                               ; @.str.4
	.asciz	"Can't open %s for %s, %s\n"

	.no_dead_strip	_bio_open_default_
.subsections_via_symbols
