	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_fbtab                    ## -- Begin function login_fbtab
	.p2align	4, 0x90
_login_fbtab:                           ## @login_fbtab
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movl	%esi, -68(%rbp)                 ## 4-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, %rbx
	movq	__PATH_FBTAB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	__PATH_LOGINDEVPERM@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_21
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%rcx, %rcx
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_syslog
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	$35, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, (%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_WSPACE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movq	__PATH_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_strncmp
	movq	%r12, %rcx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_WSPACE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edi, %edi
	callq	_strtok
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	cmpb	$48, (%rax)
	jne	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-52(%rbp), %rdx
	callq	_sscanf
	testq	%rax, %rax
	je	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %eax
	movq	%r15, %rcx
	testl	%eax, %eax
	je	LBB0_3
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$511, %eax                      ## imm = 0x1FF
	ja	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_WSPACE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edi, %edi
	callq	_strtok
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	addq	$5, %r12
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	L_.str.4(%rip), %rsi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_4
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	-52(%rbp), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-72(%rbp), %r8d                 ## 4-byte Reload
	callq	_login_protect
	xorl	%edi, %edi
	jmp	LBB0_17
LBB0_20:
	movq	%r14, %rdi
	callq	_fclose
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	__PATH_FBTAB,8,3                ## @_PATH_FBTAB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	__PATH_LOGINDEVPERM,8,3         ## @_PATH_LOGINDEVPERM
	.comm	_WSPACE,8,3                     ## @WSPACE
	.comm	__PATH_DEV,4,2                  ## @_PATH_DEV
L_.str.1:                               ## @.str.1
	.asciz	"%o"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"%s: bad entry: %s"

L_.str.3:                               ## @.str.3
	.asciz	"(null)"

L_.str.4:                               ## @.str.4
	.asciz	":"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_login_fbtab                    ; -- Begin function login_fbtab
	.p2align	2
_login_fbtab:                           ; @login_fbtab
	.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
	stp	w1, w2, [x29, #-100]            ; 8-byte Folded Spill
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
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	x23, x8, x9
	mov	sp, x23
Lloh8:
	adrp	x8, __PATH_FBTAB@GOTPAGE
Lloh9:
	ldr	x8, [x8, __PATH_FBTAB@GOTPAGEOFF]
Lloh10:
	ldr	x24, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_fopen
	cbnz	x0, LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, __PATH_LOGINDEVPERM@GOTPAGE
Lloh14:
	ldr	x8, [x8, __PATH_LOGINDEVPERM@GOTPAGEOFF]
Lloh15:
	ldr	x24, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_fopen
	cbz	x0, LBB0_20
LBB0_2:
	mov	x25, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	bl	_fgets
	cbz	x0, LBB0_19
; %bb.3:
Lloh18:
	adrp	x27, _WSPACE@GOTPAGE
Lloh19:
	ldr	x27, [x27, _WSPACE@GOTPAGEOFF]
Lloh20:
	adrp	x19, __PATH_DEV@GOTPAGE
Lloh21:
	ldr	x19, [x19, __PATH_DEV@GOTPAGEOFF]
Lloh22:
	adrp	x20, l_.str.3@PAGE
Lloh23:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh24:
	adrp	x28, l_.str.2@PAGE
Lloh25:
	add	x28, x28, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh26:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	cmp	x26, #0
	csel	x3, x20, x26, eq
	mov	x1, x28
	mov	x2, x24
	bl	_syslog
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	bl	_fgets
	cbz	x0, LBB0_19
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	mov	x0, x23
	mov	w1, #35
	bl	_strchr
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x0]
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x27]
	mov	x0, x23
	bl	_strtok
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	ldr	w1, [x19]
	mov	w2, #3
	bl	_strncmp
	mov	x26, x21
	cbnz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x27]
	bl	_strtok
	mov	x26, x0
	cbz	x0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x26]
	cmp	w8, #48
	b.ne	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x2, x29, #92
	mov	x0, x26
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sscanf
	ldur	w8, [x29, #-92]
	cmp	x0, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #511
	b.hi	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x27]
	mov	x0, #0
	bl	_strtok
	mov	x26, x0
	cbz	x0, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x21, #5
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	bl	_strcmp
	cbnz	x0, LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strtok
	cbz	x0, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x0
LBB0_18:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	w4, w2, [x29, #-96]             ; 4-byte Folded Reload
	mov	x0, x24
	ldur	w3, [x29, #-100]                ; 4-byte Folded Reload
	bl	_login_protect
	mov	x0, #0
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strtok
	mov	x1, x0
	cbnz	x0, LBB0_18
	b	LBB0_5
LBB0_19:
	mov	x0, x25
	bl	_fclose
LBB0_20:
	ldur	x8, [x29, #-88]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	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_22:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	__PATH_FBTAB,8,3                ; @_PATH_FBTAB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	__PATH_LOGINDEVPERM,8,3         ; @_PATH_LOGINDEVPERM
	.comm	_WSPACE,8,3                     ; @WSPACE
	.comm	__PATH_DEV,4,2                  ; @_PATH_DEV
l_.str.1:                               ; @.str.1
	.asciz	"%o"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"%s: bad entry: %s"

l_.str.3:                               ; @.str.3
	.asciz	"(null)"

l_.str.4:                               ; @.str.4
	.asciz	":"

.subsections_via_symbols
