	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v5_loop
_v5_loop:                               ## @v5_loop
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)
	movq	_doing_useful_work@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_term_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.1:
	movl	%esi, %r12d
	movl	%edi, %ebx
	leaq	-48(%rbp), %r13
	leaq	-64(%rbp), %r14
	leaq	-60(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_doing_useful_work@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_term_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	%r12d, %esi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_krb5_read_priv_message
	movq	_HEIM_ERR_EOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	leaq	L_.str(%rip), %rcx
	callq	_krb5_err
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_doing_useful_work@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_kadmind_dispatch
	movq	%r14, %rdi
	callq	_krb5_data_free
	movl	%ebx, %edi
	movl	%r12d, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_krb5_write_priv_message
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	leaq	L_.str.1(%rip), %rcx
	callq	_krb5_err
	jmp	LBB0_7
LBB0_8:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_doing_useful_work,4,2          ## @doing_useful_work
	.comm	_term_flag,8,3                  ## @term_flag
	.comm	_HEIM_ERR_EOF,8,3               ## @HEIM_ERR_EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_read_priv_message"

L_.str.1:                               ## @.str.1
	.asciz	"krb5_write_priv_message"

	.no_dead_strip	_v5_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v5_loop
_v5_loop:                               ; @v5_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w4, [sp, #12]
Lloh0:
	adrp	x25, _doing_useful_work@GOTPAGE
Lloh1:
	ldr	x25, [x25, _doing_useful_work@GOTPAGEOFF]
	str	wzr, [x25]
Lloh2:
	adrp	x26, _term_flag@GOTPAGE
Lloh3:
	ldr	x26, [x26, _term_flag@GOTPAGEOFF]
	ldr	x8, [x26]
	cbnz	x8, LBB0_8
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh4:
	adrp	x27, _HEIM_ERR_EOF@GOTPAGE
Lloh5:
	ldr	x27, [x27, _HEIM_ERR_EOF@GOTPAGEOFF]
	mov	w28, #1
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh8:
	adrp	x24, l_.str@PAGE
Lloh9:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x25]
	ldr	x8, [x26]
	cbnz	x8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_krb5_read_priv_message
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x0
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	w1, #1
	mov	x3, x24
	bl	_krb5_err
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w28, [x25]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x19
	mov	x1, x20
	bl	_kadmind_dispatch
	add	x0, sp, #8
	bl	_krb5_data_free
	add	x2, sp, #12
	add	x3, sp, #4
	mov	x0, x22
	mov	x1, x21
	bl	_krb5_write_priv_message
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x0
	mov	x0, x22
	mov	w1, #1
	mov	x3, x23
	bl	_krb5_err
	b	LBB0_2
LBB0_8:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_doing_useful_work,4,2          ; @doing_useful_work
	.comm	_term_flag,8,3                  ; @term_flag
	.comm	_HEIM_ERR_EOF,8,3               ; @HEIM_ERR_EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_read_priv_message"

l_.str.1:                               ; @.str.1
	.asciz	"krb5_write_priv_message"

	.no_dead_strip	_v5_loop
.subsections_via_symbols
