	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_utmp                    ## -- Begin function search_utmp
	.p2align	4, 0x90
_search_utmp:                           ## @search_utmp
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%edi, %r13d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##         Child Loop BB0_6 Depth 4
	movl	%eax, %r15d
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##         Child Loop BB0_6 Depth 4
	movl	%r15d, %r14d
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_6 Depth 4
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_getutxent
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=3
	movq	%rax, %r12
	movl	%r14d, %r15d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=4
	xorl	%eax, %eax
	callq	_getutxent
	movq	%rax, %r12
	incl	%r15d
	testq	%rax, %rax
	je	LBB0_12
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_3 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	(%r12), %rax
	movq	_USER_PROCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=4
	movq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=4
	movq	16(%r12), %rsi
	movl	%r13d, %edi
	leaq	-60(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_term_chk
	testq	%rax, %rax
	jne	LBB0_11
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=4
	testq	%r14, %r14
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=4
	cmpl	$0, -60(%rbp)
	je	LBB0_11
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=3
	movq	16(%r12), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	leal	1(%r15), %r14d
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_3
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_2
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	movq	-104(%rbp), %r14
	leal	1(%r15), %eax
	cmpq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jle	LBB0_1
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r12), %rsi
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlcpy
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	incl	%r15d
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_4:
	movl	%r14d, %r15d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_12:
	xorl	%eax, %eax
	callq	_endutxent
	testl	%r15d, %r15d
	jne	LBB0_14
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_errx
LBB0_14:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_15
## %bb.23:
	cmpl	$2, %eax
	jl	LBB0_25
## %bb.24:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_warnx
	jmp	LBB0_25
LBB0_15:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.16:
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strlcpy
	jmp	LBB0_25
LBB0_22:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_errx
LBB0_25:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USER_PROCESS,8,3               ## @USER_PROCESS
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s is not logged in"

L_.str.1:                               ## @.str.1
	.asciz	"%s has messages disabled"

L_.str.2:                               ## @.str.2
	.asciz	"%s is logged in more than once; writing to %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_utmp                    ; -- Begin function search_utmp
	.p2align	2
_search_utmp:                           ; @search_utmp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	mov	w8, #0
	mov	w25, #0
	mov	w26, #0
Lloh0:
	adrp	x28, _USER_PROCESS@GOTPAGE
Lloh1:
	ldr	x28, [x28, _USER_PROCESS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
                                        ;       Child Loop BB0_3 Depth 3
                                        ;         Child Loop BB0_6 Depth 4
	mov	x9, x26
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_3 Depth 3
                                        ;         Child Loop BB0_6 Depth 4
	mov	x26, x9
	mov	x27, x8
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_2 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_6 Depth 4
	bl	_getutxent
	cbz	x0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=3
	mov	x24, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=4
	bl	_getutxent
	mov	x24, x0
	add	w27, w27, #1
	cbz	x0, LBB0_14
LBB0_6:                                 ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_2 Depth=2
                                        ;       Parent Loop BB0_3 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x8, [x24]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=4
	ldr	x1, [x24, #8]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=4
	ldr	x1, [x24, #16]
	add	x2, sp, #20
	add	x3, sp, #24
	mov	x0, x23
	mov	w4, #0
	bl	_term_chk
	cbnz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=4
	cbz	x22, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=4
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	x0, [x24, #16]
	mov	x1, x21
	bl	_strcmp
	add	w8, w27, #1
	mov	w9, #1
	cbz	x0, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	add	w25, w25, #1
	ldr	x10, [sp, #24]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x10, x9
	b.le	LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x24, #16]
Lloh2:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x24, x10
	bl	_strlcpy
	add	w8, w27, #1
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_1
LBB0_14:
	bl	_endutxent
	cbz	w27, LBB0_18
; %bb.15:
	cbz	w25, LBB0_19
LBB0_16:
	cmp	w25, #2
	b.lt	LBB0_22
; %bb.17:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_warnx
	b	LBB0_22
LBB0_18:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
	cbnz	w25, LBB0_16
LBB0_19:
	cbz	w26, LBB0_21
; %bb.20:
Lloh9:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_strlcpy
	b	LBB0_22
LBB0_21:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_USER_PROCESS,8,3               ; @USER_PROCESS
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s is not logged in"

l_.str.1:                               ; @.str.1
	.asciz	"%s has messages disabled"

l_.str.2:                               ; @.str.2
	.asciz	"%s is logged in more than once; writing to %s"

.subsections_via_symbols
