	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_users
_add_users:                             ## @add_users
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-20(%rbp), %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rax, %rdx
	callq	_errx
LBB0_2:
	movl	-20(%rbp), %edi
	movq	_KADM5_ADMIN_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rax
	movl	%ecx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_kadm5_s_init_with_password_ctx
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-20(%rbp), %edi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_4:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_read_words
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.5:
	movl	%eax, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	-20(%rbp), %edi
	movq	-32(%rbp), %rsi
	movq	-40(%rbp), %rcx
	movl	%r14d, %edx
	callq	_add_user
	decl	%ebx
	jne	LBB0_6
LBB0_7:
	movq	-32(%rbp), %rdi
	callq	_kadm5_destroy
	movl	-20(%rbp), %edi
	callq	_krb5_free_context
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_init_context failed: %d"

	.comm	_KADM5_ADMIN_SERVICE,4,2        ## @KADM5_ADMIN_SERVICE
L_.str.1:                               ## @.str.1
	.asciz	"kadm5_init_with_password"

	.no_dead_strip	_add_users
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_users
_add_users:                             ; @add_users
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #20
	bl	_krb5_init_context
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	w0, [sp, #20]
Lloh2:
	adrp	x8, _KADM5_ADMIN_SERVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KADM5_ADMIN_SERVICE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x7, sp, #24
	mov	x2, #0
	mov	x3, x1
	mov	x4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_kadm5_s_init_with_password_ctx
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
	ldr	w0, [sp, #20]
Lloh5:
	adrp	x3, l_.str.1@PAGE
Lloh6:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_read_words
	cbz	w19, LBB0_7
; %bb.5:
	mov	x20, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #20]
	ldr	x1, [sp, #24]
	ldr	x3, [sp, #8]
	mov	x2, x20
	bl	_add_user
	subs	w19, w19, #1
	b.ne	LBB0_6
LBB0_7:
	ldr	x0, [sp, #24]
	bl	_kadm5_destroy
	ldr	w0, [sp, #20]
	bl	_krb5_free_context
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_init_context failed: %d"

	.comm	_KADM5_ADMIN_SERVICE,4,2        ; @KADM5_ADMIN_SERVICE
l_.str.1:                               ; @.str.1
	.asciz	"kadm5_init_with_password"

	.no_dead_strip	_add_users
.subsections_via_symbols
