	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ls_tty                         ## -- Begin function ls_tty
	.p2align	4, 0x90
_ls_tty:                                ## @ls_tty
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MODELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_d_first@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jns	LBB0_2
## %bb.1:
	movq	_D_MD_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nl_langinfo
	xorl	%ecx, %ecx
	cmpb	$100, (%rax)
	sete	%cl
	movl	%ecx, (%rbx)
LBB0_2:
	leaq	8(%r13), %r12
	movq	_SIXMONTHS@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	addq	8(%r13), %r14
	xorl	%edi, %edi
	callq	_time
	cmpq	%rax, %r14
	movq	_OLDFRMTD@GOTPCREL(%rip), %rax
	cmovgq	_CURFRMTD@GOTPCREL(%rip), %rax
	movq	_OLDFRMTM@GOTPCREL(%rip), %rcx
	cmovgq	_CURFRMTM@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rbx)
	cmovneq	%rax, %rcx
	movq	(%rcx), %rbx
	movq	_DATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r12, %rdi
	callq	_localtime
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_strftime
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movb	$0, (%r15)
LBB0_4:
	movl	16(%r13), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_strmode
	movl	(%r13), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_tty_prnt
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DATELEN,4,2                    ## @DATELEN
	.comm	_MODELEN,4,2                    ## @MODELEN
	.comm	_d_first,4,2                    ## @d_first
	.comm	_D_MD_ORDER,4,2                 ## @D_MD_ORDER
	.comm	_SIXMONTHS,8,3                  ## @SIXMONTHS
	.comm	_OLDFRMTD,8,3                   ## @OLDFRMTD
	.comm	_OLDFRMTM,8,3                   ## @OLDFRMTM
	.comm	_CURFRMTD,8,3                   ## @CURFRMTD
	.comm	_CURFRMTM,8,3                   ## @CURFRMTM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ls_tty                         ; -- Begin function ls_tty
	.p2align	2
_ls_tty:                                ; @ls_tty
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _DATELEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DATELEN@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _MODELEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MODELEN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh12:
	adrp	x23, _d_first@GOTPAGE
Lloh13:
	ldr	x23, [x23, _d_first@GOTPAGEOFF]
	ldr	w8, [x23]
	tbz	w8, #31, LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _D_MD_ORDER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _D_MD_ORDER@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_nl_langinfo
	ldrb	w8, [x0]
	cmp	w8, #100
	cset	w8, eq
	str	w8, [x23]
LBB0_2:
	mov	x22, x19
	ldr	x8, [x22, #8]!
Lloh17:
	adrp	x9, _SIXMONTHS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SIXMONTHS@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x25, x9, x8
	mov	x0, #0
	bl	_time
Lloh20:
	adrp	x8, _CURFRMTD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CURFRMTD@GOTPAGEOFF]
Lloh22:
	adrp	x9, _OLDFRMTD@GOTPAGE
Lloh23:
	ldr	x9, [x9, _OLDFRMTD@GOTPAGEOFF]
	ldr	w10, [x23]
Lloh24:
	adrp	x11, _CURFRMTM@GOTPAGE
Lloh25:
	ldr	x11, [x11, _CURFRMTM@GOTPAGEOFF]
Lloh26:
	adrp	x12, _OLDFRMTM@GOTPAGE
Lloh27:
	ldr	x12, [x12, _OLDFRMTM@GOTPAGEOFF]
	cmp	x25, x0
	csel	x8, x8, x9, gt
	csel	x9, x11, x12, gt
	cmp	w10, #0
	csel	x8, x9, x8, eq
	ldr	x23, [x8]
	ldr	w24, [x24]
	mov	x0, x22
	bl	_localtime
	mov	x3, x0
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_strftime
	cbnz	x0, LBB0_4
; %bb.3:
	strb	wzr, [x20]
LBB0_4:
	ldr	w0, [x19, #16]
	mov	x1, x21
	bl	_strmode
	ldr	w3, [x19]
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	bl	_tty_prnt
	ldur	x8, [x29, #-72]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DATELEN,4,2                    ; @DATELEN
	.comm	_MODELEN,4,2                    ; @MODELEN
	.comm	_d_first,4,2                    ; @d_first
	.comm	_D_MD_ORDER,4,2                 ; @D_MD_ORDER
	.comm	_SIXMONTHS,8,3                  ; @SIXMONTHS
	.comm	_OLDFRMTD,8,3                   ; @OLDFRMTD
	.comm	_OLDFRMTM,8,3                   ; @OLDFRMTM
	.comm	_CURFRMTD,8,3                   ; @CURFRMTD
	.comm	_CURFRMTM,8,3                   ; @CURFRMTM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s %s\n"

.subsections_via_symbols
