	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_log_close
_handle_log_close:                      ## @handle_log_close
	.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, %r15
	movl	%edi, %ebx
	movq	_HANDLE_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_handle_is_ok
	testq	%r15, %r15
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rcx, %r15
	movq	%rax, %r13
	leaq	L_.str.2(%rip), %r14
	cmoveq	%rcx, %r14
	movl	%ebx, %edi
	callq	_handle_to_name
	movl	%eax, %r12d
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_handle_bytes_read
	movq	%rax, %r13
	movl	%ebx, %edi
	callq	_handle_bytes_write
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	movq	%r13, %r8
	movq	%rax, %r9
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_logit                          ## TAILCALL
LBB0_2:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_logit                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HANDLE_FILE,4,2                ## @HANDLE_FILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%sclose \"%s\" bytes read %llu written %llu"

L_.str.1:                               ## @.str.1
	.space	1

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

L_.str.3:                               ## @.str.3
	.asciz	"%s%sclosedir \"%s\""

	.no_dead_strip	_handle_log_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_log_close
_handle_log_close:                      ; @handle_log_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _HANDLE_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HANDLE_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_handle_is_ok
	mov	x23, x0
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x19, #0
	csel	x19, x8, x19, eq
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x20, x8, x9, eq
	mov	x0, x21
	bl	_handle_to_name
	mov	x22, x0
	cbz	x23, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_handle_bytes_read
	mov	x23, x0
	mov	x0, x21
	bl	_handle_bytes_write
	stp	x23, x0, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_logit
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_logit
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HANDLE_FILE,4,2                ; @HANDLE_FILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%sclose \"%s\" bytes read %llu written %llu"

l_.str.1:                               ; @.str.1
	.space	1

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

l_.str.3:                               ; @.str.3
	.asciz	"%s%sclosedir \"%s\""

	.no_dead_strip	_handle_log_close
.subsections_via_symbols
