	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_privs                      ## -- Begin function get_privs
	.p2align	4, 0x90
_get_privs:                             ## @get_privs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$160, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	_kadm_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-152(%rbp), %rsi
	callq	_kadm5_get_privs
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_context@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rsi
	callq	_krb5_warn
	jmp	LBB0_5
LBB0_2:
	movq	-152(%rbp), %rdi
	leaq	-144(%rbp), %rsi
	movl	$128, %edx
	callq	__kadm5_privs_to_string
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	-152(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_5
LBB0_3:
	leaq	-144(%rbp), %rdi
	callq	_puts
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	addq	$160, %rsp
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_kadm_handle,4,2                ## @kadm_handle
	.comm	_context,4,2                    ## @context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kadm5_get_privs"

L_.str.2:                               ## @.str.2
	.asciz	"privs: 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_privs                      ; -- Begin function get_privs
	.p2align	2
_get_privs:                             ; @get_privs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, _kadm_handle@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kadm_handle@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #16
	bl	_kadm5_get_privs
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh6:
	adrp	x8, _context@GOTPAGE
Lloh7:
	ldr	x8, [x8, _context@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_krb5_warn
	b	LBB0_5
LBB0_2:
	ldr	x0, [sp, #16]
	add	x1, sp, #24
	mov	w2, #128
	bl	__kadm5_privs_to_string
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	b	LBB0_5
LBB0_4:
	add	x0, sp, #24
	bl	_puts
LBB0_5:
	ldur	x8, [x29, #-8]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_kadm_handle,4,2                ; @kadm_handle
	.comm	_context,4,2                    ; @context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kadm5_get_privs"

l_.str.2:                               ; @.str.2
	.asciz	"privs: 0x%x\n"

.subsections_via_symbols
