	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_acl
_check_acl:                             ## @check_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	%r12
	pushq	%rbx
	subq	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -312(%rbp)
	callq	_hdb_db_dir
	leaq	L_.str(%rip), %rsi
	leaq	-312(%rbp), %rdi
	movl	%eax, %edx
	callq	_asprintf
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	movq	-312(%rbp), %rdx
	testq	%rdx, %rdx
	jne	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movq	-312(%rbp), %rdx
LBB0_3:
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	callq	_krb5_config_get_string_default
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	callq	_fopen
	movq	%rax, %r15
	movq	-312(%rbp), %rdi
	callq	_free
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	leaq	-304(%rbp), %rbx
	leaq	L_.str.5(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strcspn
	movb	$0, -304(%rbp,%rax)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_4:
	movl	$1, %ebx
	jmp	LBB0_11
LBB0_7:
	movl	$1, %ebx
LBB0_10:
	movq	%r15, %rdi
	callq	_fclose
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/slaves"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

L_.str.2:                               ## @.str.2
	.asciz	"kdc"

L_.str.3:                               ## @.str.3
	.asciz	"iprop-acl"

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

L_.str.5:                               ## @.str.5
	.asciz	"\r\n"

	.no_dead_strip	_check_acl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_acl
_check_acl:                             ; @check_acl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	str	xzr, [sp]
	bl	_hdb_db_dir
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, sp
	bl	_asprintf
	ldr	x2, [sp]
	cmn	w0, #1
	ccmp	x2, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x2, [sp]
LBB0_2:
Lloh7:
	adrp	x3, l_.str.2@PAGE
Lloh8:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh9:
	adrp	x4, l_.str.3@PAGE
Lloh10:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	mov	x5, #0
	bl	_krb5_config_get_string_default
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fopen
	mov	x20, x0
	ldr	x0, [sp]
	bl	_free
	cbz	x20, LBB0_7
; %bb.3:
	add	x22, sp, #8
Lloh13:
	adrp	x21, l_.str.5@PAGE
Lloh14:
	add	x21, x21, l_.str.5@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #256
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_strcspn
	strb	wzr, [x22, x0]
	add	x0, sp, #8
	mov	x1, x19
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.6:
	mov	w19, #0
	b	LBB0_9
LBB0_7:
	mov	w19, #1
	b	LBB0_10
LBB0_8:
	mov	w19, #1
LBB0_9:
	mov	x0, x20
	bl	_fclose
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/slaves"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

l_.str.2:                               ; @.str.2
	.asciz	"kdc"

l_.str.3:                               ; @.str.3
	.asciz	"iprop-acl"

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

l_.str.5:                               ; @.str.5
	.asciz	"\r\n"

	.no_dead_strip	_check_acl
.subsections_via_symbols
