	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_access                   ## -- Begin function login_access
	.p2align	4, 0x90
_login_access:                          ## @login_access
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_NO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	__PATH_LOGACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_30
## %bb.1:
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.2:
	xorl	%r14d, %r14d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__PATH_LOGACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	xorl	%ebx, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_syslog
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %r12
	cmpb	$10, -1(%r15,%r12)
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	jne	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	cmpb	$35, (%r15)
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rax
	decq	%rax
	movl	%eax, %r13d
	movl	%eax, %r14d
	sarl	$31, %r14d
	andl	%eax, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r13d, %r13d
	jle	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movsbl	-1(%r15,%r13), %edi
	decq	%r13
	callq	_isspace
	decl	%r12d
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %r12d
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r12d, %rax
	movb	$0, (%r15,%rax)
	cmpb	$0, (%r15)
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	_fs@GOTPCREL(%rip), %r14
	movl	$0, %ebx
	je	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_strtok
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__PATH_LOGACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	leaq	L_.str.2(%rip), %rsi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_7
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	(%rbx), %al
	cmpb	$43, %al
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, %al
	jne	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_from_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_match
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_user_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_match
	testq	%rax, %rax
	setne	%al
	movzbl	%al, %ebx
	jmp	LBB0_8
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__PATH_LOGACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rsi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_7
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movzbl	%al, %ebx
	jmp	LBB0_8
LBB0_30:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_32
## %bb.31:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__PATH_LOGACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
LBB0_32:
	testl	%r14d, %r14d
	je	LBB0_33
LBB0_34:
	xorl	%eax, %eax
	cmpb	$43, (%r15)
	sete	%al
	jmp	LBB0_35
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_9:
	movl	$1, %r14d
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	testl	%r14d, %r14d
	jne	LBB0_34
LBB0_33:
	movl	$1, %eax
LBB0_35:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_37
## %bb.36:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	_NO,4,2                         ## @NO
	.comm	__PATH_LOGACCESS,4,2            ## @_PATH_LOGACCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"%s: line %d: missing newline or line too long"

	.comm	_fs,4,2                         ## @fs
L_.str.2:                               ## @.str.2
	.asciz	"%s: line %d: bad field count"

L_.str.3:                               ## @.str.3
	.asciz	"%s: line %d: bad first field"

	.comm	_from_match,4,2                 ## @from_match
	.comm	_user_match,4,2                 ## @user_match
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.4:                               ## @.str.4
	.asciz	"cannot open %s: %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_access                   ; -- Begin function login_access
	.p2align	2
_login_access:                          ; @login_access
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x21, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x8, _NO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NO@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x28, __PATH_LOGACCESS@GOTPAGE
Lloh12:
	ldr	x28, [x28, __PATH_LOGACCESS@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_26
; %bb.1:
	mov	x23, x0
	cbnz	w20, LBB0_32
; %bb.2:
	stur	x25, [x29, #-112]               ; 8-byte Folded Spill
	stur	x21, [x29, #-96]                ; 8-byte Folded Spill
	mov	w21, #0
Lloh15:
	adrp	x24, _LOG_ERR@GOTPAGE
Lloh16:
	ldr	x24, [x24, _LOG_ERR@GOTPAGEOFF]
Lloh17:
	adrp	x26, l_.str.1@PAGE
Lloh18:
	add	x26, x26, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	ldr	w2, [x28]
	mov	x8, x21
	str	x8, [sp, #-16]!
	mov	x1, x26
	bl	_syslog
	add	sp, sp, #16
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w8, LBB0_31
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_fgets
	cbz	x0, LBB0_30
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w21, w21, #1
	mov	x0, x19
	bl	_strlen
	mov	x27, x0
	sxtw	x8, w27
	sub	x9, x8, #1
	ldrb	w8, [x19, x9]
	cmp	w8, #10
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x19]
	cmp	w8, #35
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x28
	mov	w8, w9
	cmp	w9, #0
	csel	w25, w9, wzr, lt
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	sub	x28, x8, #1
	add	x8, x19, x8
	ldursb	w0, [x8, #-1]
	bl	_isspace
	sub	w27, w27, #1
	mov	x8, x28
	cbnz	x0, LBB0_10
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x25
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x19, w27, sxtw]
	ldrb	w8, [x19]
	cbz	w8, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x26
Lloh19:
	adrp	x26, _fs@GOTPAGE
Lloh20:
	ldr	x26, [x26, _fs@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_strtok
	cbz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x0
	ldr	w1, [x26]
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	ldr	w1, [x26]
	mov	x0, #0
	bl	_strtok
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x26]
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	mov	x28, x20
	ldr	w2, [x20]
	str	x21, [sp, #-16]!
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_syslog
	add	sp, sp, #16
	mov	w8, #0
	mov	x26, x25
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x20
	b	LBB0_5
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x28]
	cmp	w8, #43
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #45
	b.ne	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh23:
	adrp	x8, _from_match@GOTPAGE
Lloh24:
	ldr	x8, [x8, _from_match@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	ldp	x0, x1, [x29, #-104]            ; 16-byte Folded Reload
	bl	_list_match
	mov	x28, x20
	mov	x26, x25
	cbz	x0, LBB0_4
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh26:
	adrp	x8, _user_match@GOTPAGE
Lloh27:
	ldr	x8, [x8, _user_match@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x27
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	bl	_list_match
	cmp	x0, #0
	cset	w8, ne
	b	LBB0_5
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	mov	x28, x20
	ldr	w2, [x20]
	mov	x8, x21
	str	x8, [sp, #-16]!
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_26:
Lloh31:
	adrp	x8, _errno@GOTPAGE
Lloh32:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	adrp	x9, _ENOENT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_28
; %bb.27:
Lloh37:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	w2, [x28]
Lloh40:
	adrp	x1, l_.str.4@PAGE
Lloh41:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_syslog
LBB0_28:
	cbz	w20, LBB0_33
LBB0_29:
	ldrb	w8, [x19]
	cmp	w8, #43
	cset	w0, eq
	b	LBB0_34
LBB0_30:
	mov	w20, #0
	b	LBB0_32
LBB0_31:
	mov	w20, #1
LBB0_32:
	mov	x0, x23
	bl	_fclose
	cbnz	w20, LBB0_29
LBB0_33:
	mov	w0, #1
LBB0_34:
	ldur	x8, [x29, #-88]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.35:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	_NO,4,2                         ; @NO
	.comm	__PATH_LOGACCESS,4,2            ; @_PATH_LOGACCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"%s: line %d: missing newline or line too long"

	.comm	_fs,4,2                         ; @fs
l_.str.2:                               ; @.str.2
	.asciz	"%s: line %d: bad field count"

l_.str.3:                               ; @.str.3
	.asciz	"%s: line %d: bad first field"

	.comm	_from_match,4,2                 ; @from_match
	.comm	_user_match,4,2                 ; @user_match
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.4:                               ; @.str.4
	.asciz	"cannot open %s: %m"

.subsections_via_symbols
