	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_log
_check_log:                             ## @check_log
	.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
	movl	$10, %r13d
	leaq	-44(%rbp), %r14
	leaq	L_.str.1(%rip), %r15
	leaq	-56(%rbp), %r12
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_krb5_initlog
	movl	-44(%rbp), %edi
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_krb5_addlog_dest
	movl	-44(%rbp), %edi
	movq	-56(%rbp), %rsi
	callq	_krb5_set_warn_dest
	movl	-44(%rbp), %edi
	callq	_krb5_free_context
	decl	%r13d
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_errx
	jmp	LBB0_3
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_init_context failed: %d"

L_.str.1:                               ## @.str.1
	.asciz	"test-mem"

L_.str.2:                               ## @.str.2
	.asciz	"0/STDERR:"

	.no_dead_strip	_check_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_log
_check_log:                             ; @check_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	w22, #10
Lloh0:
	adrp	x19, l_.str.1@PAGE
Lloh1:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh2:
	adrp	x20, l_.str.2@PAGE
Lloh3:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #4]
	add	x2, sp, #8
	mov	x1, x19
	bl	_krb5_initlog
	ldr	w0, [sp, #4]
	ldr	x1, [sp, #8]
	mov	x2, x20
	bl	_krb5_addlog_dest
	ldr	w0, [sp, #4]
	ldr	x1, [sp, #8]
	bl	_krb5_set_warn_dest
	ldr	w0, [sp, #4]
	bl	_krb5_free_context
	subs	w22, w22, #1
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #4
	bl	_krb5_init_context
	cbz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x0
	mov	w0, #1
	mov	x1, x21
	bl	_errx
	b	LBB0_1
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_init_context failed: %d"

l_.str.1:                               ; @.str.1
	.asciz	"test-mem"

l_.str.2:                               ; @.str.2
	.asciz	"0/STDERR:"

	.no_dead_strip	_check_log
.subsections_via_symbols
