	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function utmpx
_utmpx:                                 ## @utmpx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_RV_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	xorl	%edi, %edi
	cmpl	$2, %ebx
	setge	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	leal	-3(%rbx), %eax
	cmpl	$1, %eax
	ja	LBB0_5
## %bb.1:
	movq	16(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	16(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	16(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	_RV_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	cmpl	$4, %ebx
	je	LBB0_9
LBB0_11:
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_5:
	movq	_RV_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%esi, %esi
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_6:
	movq	_UTXDB_ACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_UTXDB_LASTLOGIN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	_UTXDB_LOG@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	cmpl	$4, %ebx
	jne	LBB0_11
LBB0_9:
	movq	24(%r15), %rsi
LBB0_12:
	movq	_RV_USAGE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_getprogname
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	jmp	LBB0_20
LBB0_14:
	cmpl	(%r12), %r14d
	jne	LBB0_20
## %bb.15:
	callq	_setutxdb
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	_RV_NOTFOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %rdi
	callq	_utmpxprint
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_getutxent
	testq	%rax, %rax
	jne	LBB0_17
## %bb.19:
	xorl	%eax, %eax
	callq	_endutxent
LBB0_20:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RV_OK,4,2                      ## @RV_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"active"

	.comm	_UTXDB_ACTIVE,4,2               ## @UTXDB_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"lastlogin"

	.comm	_UTXDB_LASTLOGIN,4,2            ## @UTXDB_LASTLOGIN
L_.str.2:                               ## @.str.2
	.asciz	"log"

	.comm	_UTXDB_LOG,4,2                  ## @UTXDB_LOG
	.comm	_RV_USAGE,4,2                   ## @RV_USAGE
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"Usage: %s utmpx active | lastlogin | log [filename]\n"

	.comm	_RV_NOTFOUND,4,2                ## @RV_NOTFOUND
	.no_dead_strip	_utmpx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function utmpx
_utmpx:                                 ; @utmpx
	.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, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _RV_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RV_OK@GOTPAGEOFF]
	ldr	w19, [x22]
	cmp	w0, #1
	cset	w0, gt
	bl	_assert
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	sub	w8, w21, #3
Lloh2:
	adrp	x23, _RV_USAGE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _RV_USAGE@GOTPAGEOFF]
	cmp	w8, #1
	b.hi	LBB0_6
; %bb.1:
	ldr	x0, [x20, #16]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x0, [x20, #16]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x0, [x20, #16]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.4:
	mov	w0, #0
	ldr	w19, [x23]
	cmp	w21, #4
	b.eq	LBB0_11
LBB0_5:
	mov	x1, #0
	b	LBB0_12
LBB0_6:
	mov	x1, #0
	mov	w0, #0
	ldr	w19, [x23]
	b	LBB0_12
LBB0_7:
Lloh10:
	adrp	x8, _UTXDB_ACTIVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UTXDB_ACTIVE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _UTXDB_LASTLOGIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UTXDB_LASTLOGIN@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh14:
	adrp	x8, _UTXDB_LOG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UTXDB_LOG@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	cmp	w21, #4
	b.ne	LBB0_5
LBB0_11:
	ldr	x1, [x20, #24]
LBB0_12:
	ldr	w8, [x23]
	cmp	w19, w8
	b.ne	LBB0_14
; %bb.13:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	bl	_getprogname
	mov	x2, x0
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	b	LBB0_20
LBB0_14:
	ldr	w8, [x22]
	cmp	w19, w8
	b.ne	LBB0_20
; %bb.15:
	bl	_setutxdb
	cbz	x0, LBB0_18
; %bb.16:
Lloh21:
	adrp	x8, _RV_NOTFOUND@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RV_NOTFOUND@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	bl	_utmpxprint
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	bl	_getutxent
	cbnz	x0, LBB0_17
; %bb.19:
	bl	_endutxent
LBB0_20:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RV_OK,4,2                      ; @RV_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"active"

	.comm	_UTXDB_ACTIVE,4,2               ; @UTXDB_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"lastlogin"

	.comm	_UTXDB_LASTLOGIN,4,2            ; @UTXDB_LASTLOGIN
l_.str.2:                               ; @.str.2
	.asciz	"log"

	.comm	_UTXDB_LOG,4,2                  ; @UTXDB_LOG
	.comm	_RV_USAGE,4,2                   ; @RV_USAGE
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"Usage: %s utmpx active | lastlogin | log [filename]\n"

	.comm	_RV_NOTFOUND,4,2                ; @RV_NOTFOUND
	.no_dead_strip	_utmpx
.subsections_via_symbols
