	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function display_start_read
_display_start_read:                    ## @display_start_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, (%rbx)
	leaq	L_.str(%rip), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_fopen
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rbx)
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	%rax, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	$0, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_USER_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_display_log                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

L_.str.1:                               ## @.str.1
	.asciz	"<stdin>"

	.comm	_stdin,8,3                      ## @stdin
	.comm	_USER_ERROR,4,2                 ## @USER_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"file open failed (%s)"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_display_start_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function display_start_read
_display_start_read:                    ; @display_start_read
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	str	x1, [x19]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	bl	_fopen
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
Lloh4:
	adrp	x8, _stdin@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
LBB0_3:
	str	x0, [x19, #32]
	stp	xzr, xzr, [x19, #8]
	str	wzr, [x19, #24]
	cbz	x0, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh7:
	adrp	x8, _USER_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USER_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_display_log
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

l_.str.1:                               ; @.str.1
	.asciz	"<stdin>"

	.comm	_stdin,8,3                      ; @stdin
	.comm	_USER_ERROR,4,2                 ; @USER_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"file open failed (%s)"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_display_start_read
.subsections_via_symbols
