	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wtmp
_wtmp:                                  ## @wtmp
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_idlist@GOTPCREL(%rip), %rdi
	callq	_SLIST_INIT
	leaq	-120(%rbp), %rdi
	callq	_time
	leaq	L_.str(%rip), %rdi
	callq	_xo_open_container
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_getutxent
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_getutxent
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	_wtmp.amount(%rip), %eax
	testb	$127, %al
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1024(,%rax,8), %esi
	movq	%r15, %rdi
	callq	_realloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movq	%r14, %rsi
	callq	_xo_err
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	_wtmp.amount(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _wtmp.amount(%rip)
	leaq	(%r15,%rax,8), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	cmpq	%rax, -120(%rbp)
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -120(%rbp)
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	callq	_endutxent
	leaq	L_.str.2(%rip), %rdi
	callq	_xo_open_list
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	_wtmp.amount(%rip), %eax
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	decl	%eax
	movl	%eax, _wtmp.amount(%rip)
	leaq	(%r15,%rax,8), %rdi
	callq	_doentry
	jmp	LBB0_10
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	callq	_xo_close_list
	movq	%r15, %rdi
	callq	_free
	leaq	-120(%rbp), %rdi
	callq	_localtime
	leaq	L_.str.3(%rip), %rdx
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$80, %esi
	movq	%rax, %rcx
	callq	_strftime
	movq	_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.5(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_xo_emit
	movq	-120(%rbp), %rdx
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_xo_attr
	leaq	L_.str.8(%rip), %rdi
	callq	_ctf
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_xo_emit
	leaq	L_.str(%rip), %rdi
	callq	_xo_close_container
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_wtmp.amount,4,2 ## @wtmp.amount
	.comm	_idlist,4,2                     ## @idlist
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"last-information"

L_.str.1:                               ## @.str.1
	.asciz	"realloc"

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

L_.str.3:                               ## @.str.3
	.asciz	"%+"

L_.str.4:                               ## @.str.4
	.asciz	"\n{:utxdb/%s}"

	.comm	_file,8,3                       ## @file
L_.str.5:                               ## @.str.5
	.asciz	"utx.log"

L_.str.6:                               ## @.str.6
	.asciz	"seconds"

L_.str.7:                               ## @.str.7
	.asciz	"%lu"

L_.str.8:                               ## @.str.8
	.asciz	" begins {:begins/%s}\n"

	.no_dead_strip	_wtmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wtmp
_wtmp:                                  ; @wtmp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x0, _idlist@GOTPAGE
Lloh4:
	ldr	x0, [x0, _idlist@GOTPAGEOFF]
	bl	_SLIST_INIT
	mov	x0, sp
	bl	_time
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_open_container
	bl	_getutxent
	adrp	x22, _wtmp.amount@PAGE
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	mov	x19, #0
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_getutxent
	mov	x21, x0
	cbz	x0, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, _wtmp.amount@PAGEOFF]
	tst	w8, #0x7f
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w8, w8, #3
	add	w1, w8, #1024
	mov	x0, x19
	bl	_realloc
	mov	x19, x0
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	x1, x20
	bl	_xo_err
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22, _wtmp.amount@PAGEOFF]
	add	w9, w8, #1
	str	w9, [x22, _wtmp.amount@PAGEOFF]
	add	x0, x19, x8, lsl #3
	mov	x1, x21
	mov	w2, #8
	bl	_memcpy
	ldr	x9, [sp]
	ldr	x8, [x21]
	cmp	x9, x8
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [sp]
	b	LBB0_2
LBB0_8:
	mov	x19, #0
LBB0_9:
	bl	_endutxent
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xo_open_list
	ldr	w8, [x22, _wtmp.amount@PAGEOFF]
	cbz	w8, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	str	w8, [x22, _wtmp.amount@PAGEOFF]
	add	x0, x19, w8, uxtw #3
	bl	_doentry
	ldr	w8, [x22, _wtmp.amount@PAGEOFF]
	cbnz	w8, LBB0_10
LBB0_11:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xo_close_list
	mov	x0, x19
	bl	_free
	mov	x0, sp
	bl	_localtime
	mov	x3, x0
Lloh13:
	adrp	x2, l_.str.3@PAGE
Lloh14:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	w1, #80
	bl	_strftime
Lloh15:
	adrp	x8, _file@GOTPAGE
Lloh16:
	ldr	x8, [x8, _file@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, l_.str.5@PAGE
Lloh19:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_xo_emit
	ldr	x2, [sp]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_xo_attr
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_ctf
	add	x1, sp, #8
	bl	_xo_emit
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xo_close_container
	ldur	x8, [x29, #-40]
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_13
; %bb.12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_wtmp.amount,4,2 ; @wtmp.amount
	.comm	_idlist,4,2                     ; @idlist
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"last-information"

l_.str.1:                               ; @.str.1
	.asciz	"realloc"

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

l_.str.3:                               ; @.str.3
	.asciz	"%+"

l_.str.4:                               ; @.str.4
	.asciz	"\n{:utxdb/%s}"

	.comm	_file,8,3                       ; @file
l_.str.5:                               ; @.str.5
	.asciz	"utx.log"

l_.str.6:                               ; @.str.6
	.asciz	"seconds"

l_.str.7:                               ; @.str.7
	.asciz	"%lu"

l_.str.8:                               ; @.str.8
	.asciz	" begins {:begins/%s}\n"

	.no_dead_strip	_wtmp
.subsections_via_symbols
