	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_acl
_fetch_acl:                             ## @fetch_acl
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -352(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, (%rdx)
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %r13
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	movq	%r13, -328(%rbp)                ## 8-byte Spill
	je	LBB0_19
## %bb.2:
	movq	%rbx, -344(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %r14
	leaq	-304(%rbp), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r13, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_19
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -336(%rbp)
	movl	$0, -308(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	leaq	-336(%rbp), %rdx
	callq	_strtok_r
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$35, (%rax)
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r12
	movl	(%r15), %edi
	movq	%rax, %rsi
	leaq	-316(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	jne	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edi
	movl	4(%r15), %esi
	movl	-316(%rbp), %edx
	callq	_krb5_principal_compare
	movl	%eax, %ebx
	movl	(%r15), %edi
	movl	-316(%rbp), %esi
	callq	_krb5_free_principal
	testl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r14
	movq	%r12, %rbx
	movq	-328(%rbp), %r13                ## 8-byte Reload
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	movq	%r14, %rsi
	leaq	-336(%rbp), %rdx
	callq	_strtok_r
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	leaq	-308(%rbp), %rsi
	callq	__kadm5_string_to_privs
	testq	%rax, %rax
	jne	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	movq	%r14, %rsi
	leaq	-336(%rbp), %rdx
	callq	_strtok_r
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -352(%rbp)                  ## 8-byte Folded Reload
	movq	%r12, %rbx
	movq	-328(%rbp), %r13                ## 8-byte Reload
	je	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edi
	movq	%rax, %rsi
	leaq	-312(%rbp), %rdx
	callq	_krb5_parse_name
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edi
	movl	-312(%rbp), %edx
	movq	-352(%rbp), %rsi                ## 8-byte Reload
	callq	_krb5_principal_match
	movq	%rax, %rbx
	movl	(%r15), %edi
	movl	-312(%rbp), %esi
	callq	_krb5_free_principal
	testq	%rbx, %rbx
	jne	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %r14
	movq	%r12, %rbx
	movq	-328(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_3
LBB0_15:
	xorl	%r13d, %r13d
	jmp	LBB0_21
LBB0_17:
	movq	%rax, %r13
	jmp	LBB0_20
LBB0_18:
	movl	-308(%rbp), %eax
	movq	-344(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_19:
	xorl	%r13d, %r13d
LBB0_20:
	movq	-328(%rbp), %rdi                ## 8-byte Reload
	callq	_fclose
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.22:
	movq	%r13, %rax
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	-308(%rbp), %eax
	movq	-344(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_20
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	" \t\n"

	.no_dead_strip	_fetch_acl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_acl
_fetch_acl:                             ; @fetch_acl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	str	wzr, [x2]
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #256
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_14
; %bb.2:
Lloh5:
	adrp	x23, l_.str.1@PAGE
Lloh6:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	mov	w1, #256
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #16]
	str	wzr, [sp, #8]
	add	x0, sp, #24
	add	x2, sp, #16
	mov	x1, x23
	bl	_strtok_r
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	ldrb	w8, [x0]
	cmp	w8, #35
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	add	x2, sp, #12
	bl	_krb5_parse_name
	cbnz	x0, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w0, w1, [x22]
	ldr	w2, [sp, #12]
	bl	_krb5_principal_compare
	mov	x24, x0
	ldr	w0, [x22]
	ldr	w1, [sp, #12]
	bl	_krb5_free_principal
	cbz	w24, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #16
	mov	x0, #0
	mov	x1, x23
	bl	_strtok_r
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #8
	bl	__kadm5_string_to_privs
	cbnz	x0, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #16
	mov	x1, x23
	bl	_strtok_r
	cbz	x0, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x21, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	ldr	w0, [x22]
	add	x2, sp, #4
	bl	_krb5_parse_name
	mov	x24, x0
	cbnz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	ldr	w2, [sp, #4]
	mov	x1, x21
	bl	_krb5_principal_match
	mov	x25, x0
	ldr	w0, [x22]
	ldr	w1, [sp, #4]
	bl	_krb5_free_principal
	cbz	x25, LBB0_3
	b	LBB0_21
LBB0_14:
	mov	x24, #0
LBB0_15:
	mov	x0, x19
	bl	_fclose
	b	LBB0_17
LBB0_16:
	mov	x24, #0
LBB0_17:
	ldur	x8, [x29, #-72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.18:
	mov	x0, x24
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_19:
	mov	x24, x0
	b	LBB0_15
LBB0_20:
	mov	x24, #0
LBB0_21:
	ldr	w8, [sp, #8]
	str	w8, [x20]
	b	LBB0_15
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	" \t\n"

	.no_dead_strip	_fetch_acl
.subsections_via_symbols
