	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_buffered_flush              ## -- Begin function dt_buffered_flush
	.p2align	4, 0x90
_dt_buffered_flush:                     ## @dt_buffered_flush
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%r14d, %r14d
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	%rdi, -24(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -64(%rbp)
	movq	%rsi, -32(%rbp)
	movq	%rdx, -40(%rbp)
	movq	%rcx, -48(%rbp)
	movl	%r8d, -56(%rbp)
	movl	24(%rdi), %esi
	leaq	-64(%rbp), %rdi
	callq	*16(%rbx)
	movq	_DTRACE_HANDLE_ABORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_EDT_DIRABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dt_set_errno
	movl	%eax, %r14d
	jmp	LBB0_4
LBB0_3:
	movq	$0, (%rbx)
	movq	8(%rbx), %rax
	movb	$0, (%rax)
LBB0_4:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACE_HANDLE_ABORT,8,3        ## @DTRACE_HANDLE_ABORT
	.comm	_EDT_DIRABORT,4,2               ## @EDT_DIRABORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_buffered_flush              ; -- Begin function dt_buffered_flush
	.p2align	2
_dt_buffered_flush:                     ; @dt_buffered_flush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldp	x8, x9, [x0, #8]
	str	x8, [sp]
	stp	x1, x0, [sp, #32]
	stp	x3, x2, [sp, #16]
	str	w4, [sp, #8]
	ldr	w1, [x0, #24]
	mov	x0, sp
	blr	x9
Lloh0:
	adrp	x8, _DTRACE_HANDLE_ABORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTRACE_HANDLE_ABORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _EDT_DIRABORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDT_DIRABORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_set_errno
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #0
	str	xzr, [x19]
	ldr	x8, [x19, #8]
	strb	wzr, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACE_HANDLE_ABORT,8,3        ; @DTRACE_HANDLE_ABORT
	.comm	_EDT_DIRABORT,4,2               ; @EDT_DIRABORT
.subsections_via_symbols
