	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _default_history_file
__default_history_file:                 ## @_default_history_file
	.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	__default_history_file.path(%rip), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, %edi
	callq	_getpwuid
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	movq	(%rax), %rdi
	callq	_strlen
	movslq	%eax, %rbx
	addq	$10, %rbx
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, __default_history_file.path(%rip)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_snprintf
	movq	__default_history_file.path(%rip), %rbx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,__default_history_file.path,8,3 ## @_default_history_file.path
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/.history"

	.no_dead_strip	__default_history_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _default_history_file
__default_history_file:                 ; @_default_history_file
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	adrp	x21, __default_history_file.path@PAGE
	ldr	x0, [x21, __default_history_file.path@PAGEOFF]
	cbnz	x0, LBB0_4
; %bb.1:
	bl	_getuid
	bl	_getpwuid
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	x0, [x0]
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x20, x8, #10
	mov	x0, x20
	bl	_malloc
	str	x0, [x21, __default_history_file.path@PAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x3, [x19]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_snprintf
	ldr	x0, [x21, __default_history_file.path@PAGEOFF]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,__default_history_file.path,8,3 ; @_default_history_file.path
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/.history"

	.no_dead_strip	__default_history_file
.subsections_via_symbols
