	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_builtin
_run_builtin:                           ## @run_builtin
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_use_browser@GOTPCREL(%rip), %r14
	cmpl	$-1, (%r14)
	jne	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	callq	_check_browser_config
	movl	%eax, (%r14)
LBB0_2:
	movq	_use_pager@GOTPCREL(%rip), %r14
	cmpl	$-1, (%r14)
	je	LBB0_3
LBB0_7:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_commit_pager_choice
	movl	%r12d, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	*8(%rbx)
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_exit_browser
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	movzbl	%bl, %r14d
	jmp	LBB0_18
LBB0_3:
	movq	_RUN_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movl	16(%rbx), %edi
	callq	_check_pager_config
	movl	%eax, (%r14)
	cmpl	$-1, %eax
	jne	LBB0_7
LBB0_5:
	movq	_USE_PAGER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.6:
	movl	$1, (%r14)
	jmp	LBB0_7
LBB0_9:
	movq	_stdout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_fileno
	leaq	-40(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	testq	%rax, %rax
	jne	LBB0_18
## %bb.10:
	movl	-40(%rbp), %ebx
	movl	%ebx, %edi
	callq	_S_ISFIFO
	testq	%rax, %rax
	jne	LBB0_18
## %bb.11:
	movl	%ebx, %edi
	callq	_S_ISSOCK
	testq	%rax, %rax
	jne	LBB0_18
## %bb.12:
	movl	(%r15), %edi
	callq	_fflush
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
LBB0_14:
	movl	(%r15), %edi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_16:
	movl	(%r15), %edi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
LBB0_18:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RUN_SETUP,4,2                  ## @RUN_SETUP
	.comm	_use_browser,4,2                ## @use_browser
	.comm	_use_pager,4,2                  ## @use_pager
	.comm	_USE_PAGER,4,2                  ## @USE_PAGER
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write failure on standard output: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"unknown write failure on standard output"

L_.str.2:                               ## @.str.2
	.asciz	"close failed on standard output: %s"

	.no_dead_strip	_run_builtin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_builtin
_run_builtin:                           ; @run_builtin
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _use_browser@GOTPAGE
Lloh1:
	ldr	x22, [x22, _use_browser@GOTPAGEOFF]
	ldr	w8, [x22]
	cmn	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x21, #16]
	bl	_check_browser_config
	str	w0, [x22]
LBB0_2:
Lloh2:
	adrp	x22, _use_pager@GOTPAGE
Lloh3:
	ldr	x22, [x22, _use_pager@GOTPAGEOFF]
	ldr	w8, [x22]
	cmn	w8, #1
	b.eq	LBB0_5
LBB0_3:
	bl	_commit_pager_choice
	ldr	x8, [x21, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	blr	x8
	mov	x19, x0
	bl	_exit_browser
	cbz	w19, LBB0_9
; %bb.4:
	and	w0, w19, #0xff
	b	LBB0_19
LBB0_5:
	ldr	w8, [x21]
Lloh4:
	adrp	x9, _RUN_SETUP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RUN_SETUP@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x21, #16]
	bl	_check_pager_config
	str	w0, [x22]
	cmn	w0, #1
	b.ne	LBB0_3
LBB0_7:
	ldr	w8, [x21]
Lloh7:
	adrp	x9, _USE_PAGER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _USE_PAGER@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.8:
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_3
LBB0_9:
Lloh10:
	adrp	x20, _stdout@GOTPAGE
Lloh11:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_fileno
	add	x1, sp, #8
	bl	_fstat
	cbnz	x0, LBB0_18
; %bb.10:
	ldr	w19, [sp, #8]
	mov	x0, x19
	bl	_S_ISFIFO
	cbnz	x0, LBB0_18
; %bb.11:
	mov	x0, x19
	bl	_S_ISSOCK
	cbnz	x0, LBB0_18
; %bb.12:
	ldr	w0, [x20]
	bl	_fflush
Lloh12:
	adrp	x19, _errno@GOTPAGE
Lloh13:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w0, [x19]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_14:
	ldr	w0, [x20]
	bl	_ferror
	cbz	x0, LBB0_16
; %bb.15:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_16:
	ldr	w0, [x20]
	bl	_fclose
	cbz	x0, LBB0_19
; %bb.17:
	ldr	w0, [x19]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_18:
	mov	w0, #0
LBB0_19:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RUN_SETUP,4,2                  ; @RUN_SETUP
	.comm	_use_browser,4,2                ; @use_browser
	.comm	_use_pager,4,2                  ; @use_pager
	.comm	_USE_PAGER,4,2                  ; @USE_PAGER
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write failure on standard output: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"unknown write failure on standard output"

l_.str.2:                               ; @.str.2
	.asciz	"close failed on standard output: %s"

	.no_dead_strip	_run_builtin
.subsections_via_symbols
