	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enter_lastlog                  ## -- Begin function enter_lastlog
	.p2align	4, 0x90
_enter_lastlog:                         ## @enter_lastlog
	.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	%rdi, %r14
	movq	_UTXDB_LASTLOGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_setutxdb
	testq	%rax, %rax
	je	LBB0_1
LBB0_19:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_endutxent                      ## TAILCALL
LBB0_1:
	movl	8(%r14), %edi
	callq	_getutxuser
	movq	%rax, %r15
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	testq	%r15, %r15
	je	LBB0_19
## %bb.4:
	movq	(%r15), %rax
	movq	_USER_PROCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.5:
	movq	_LOGGEDIN@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rbx, %rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rcx)
	jne	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rcx), %rdx
	movq	8(%r15), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
LBB0_8:
	cmpq	%rsi, %rdx
	jge	LBB0_19
## %bb.9:
	movb	$1, %r13b
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	20(%rbx), %edi
	movl	20(%r15), %esi
	callq	_strcmp
	testq	%rax, %rax
	movzbl	%r13b, %r13d
	movl	$0, %eax
	cmovel	%eax, %r13d
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	testb	%r13b, %r13b
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
	jmp	LBB0_14
LBB0_2:
	movb	$1, %r13b
LBB0_14:
	testq	%r15, %r15
	je	LBB0_19
## %bb.15:
	testb	%r13b, %r13b
	je	LBB0_19
## %bb.16:
	movq	%r14, %rdi
	callq	_walloc
	movq	%rax, %r14
	movq	_LASTLOG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	20(%r14), %edi
	movl	20(%r15), %esi
	callq	_strcpy
	movl	16(%r14), %edi
	movl	16(%r15), %esi
	callq	_strcpy
	movq	8(%r15), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_UTXDB_LASTLOGIN,4,2            ## @UTXDB_LASTLOGIN
	.comm	_USER_PROCESS,8,3               ## @USER_PROCESS
	.comm	_LOGGEDIN,8,3                   ## @LOGGEDIN
	.comm	_LASTLOG,8,3                    ## @LASTLOG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enter_lastlog                  ; -- Begin function enter_lastlog
	.p2align	2
_enter_lastlog:                         ; @enter_lastlog
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
Lloh0:
	adrp	x8, _UTXDB_LASTLOGIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UTXDB_LASTLOGIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_setutxdb
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_endutxent
LBB0_2:
	ldr	w0, [x20, #8]
	bl	_getutxuser
	mov	x19, x0
	ldr	x21, [x20]
	cbz	x21, LBB0_15
; %bb.3:
	cbz	x19, LBB0_1
; %bb.4:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _USER_PROCESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USER_PROCESS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.5:
Lloh6:
	adrp	x22, _LOGGEDIN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _LOGGEDIN@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	x9, x21
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x9, #24]
	cbz	x9, LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x8
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x9, #8]
	ldr	x11, [x19, #8]
	ldr	x9, [x9, #24]
	cmp	x10, x11
	ccmp	x9, #0, #4, ge
	b.ne	LBB0_7
; %bb.9:
	cmp	x10, x11
	b.ge	LBB0_1
; %bb.10:
	mov	w23, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x21, #20]
	ldr	w1, [x19, #20]
	bl	_strcmp
	cmp	x0, #0
	csel	w23, wzr, w23, eq
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	tst	w23, #0xff
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x21, [x21, #24]
	cbnz	x21, LBB0_11
	b	LBB0_16
LBB0_15:
	mov	w23, #1
LBB0_16:
	cbz	x19, LBB0_1
; %bb.17:
	tst	w23, #0xff
	b.eq	LBB0_1
; %bb.18:
	mov	x0, x20
	bl	_walloc
	mov	x20, x0
Lloh8:
	adrp	x8, _LASTLOG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LASTLOG@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x0]
	ldr	w0, [x0, #20]
	ldr	w1, [x19, #20]
	bl	_strcpy
	ldr	w0, [x20, #16]
	ldr	w1, [x19, #16]
	bl	_strcpy
	ldr	x8, [x19, #8]
	str	x8, [x20, #8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UTXDB_LASTLOGIN,4,2            ; @UTXDB_LASTLOGIN
	.comm	_USER_PROCESS,8,3               ; @USER_PROCESS
	.comm	_LOGGEDIN,8,3                   ; @LOGGEDIN
	.comm	_LASTLOG,8,3                    ; @LASTLOG
.subsections_via_symbols
