	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rename_tmp_log_callback
_rename_tmp_log_callback:               ## @rename_tmp_log_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	movl	8(%rbx), %edi
	callq	_rename
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, (%rbx)
	movq	(%rcx), %rdx
	movq	_ENOTDIR@GOTPCREL(%rip), %rsi
	movl	$-1, %eax
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.3:
	movq	_EISDIR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rcx)
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOTDIR,8,3                    ## @ENOTDIR
	.comm	_EISDIR,8,3                     ## @EISDIR
	.no_dead_strip	_rename_tmp_log_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rename_tmp_log_callback
_rename_tmp_log_callback:               ; @rename_tmp_log_callback
	.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, x1
	mov	x1, x0
	ldr	w0, [x19, #8]
	bl	_rename
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _ENOTDIR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ENOTDIR@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, _EISDIR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EISDIR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOTDIR,8,3                    ; @ENOTDIR
	.comm	_EISDIR,8,3                     ; @EISDIR
	.no_dead_strip	_rename_tmp_log_callback
.subsections_via_symbols
