	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_function
_log_function:                          ## @log_function
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	-48(%rbp), %rsi
	callq	_krb5_ret_int32
	testq	%rax, %rax
	je	LBB0_1
LBB0_12:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-56(%rbp), %r14
	leaq	L_.str(%rip), %r13
	movq	_logfile@GOTPCREL(%rip), %r15
	leaq	-48(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_errx
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_krb5_ret_int32
	testq	%rax, %rax
	jne	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %edx
	leal	-129(%rdx), %eax
	cmpl	$2, %eax
	jae	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_krb5_ret_string
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	leaq	-44(%rbp), %rsi
	callq	_krb5_ret_int32
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	leaq	-64(%rbp), %rsi
	callq	_krb5_ret_string
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi
	movslq	-44(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movq	%r13, %rdi
	callq	_printf
	movl	(%r15), %edi
	movq	-56(%rbp), %rdx
	movslq	-44(%rbp), %rcx
	movq	-64(%rbp), %r8
	movq	%r13, %rsi
	callq	_fprintf
	movl	(%r15), %edi
	callq	_fflush
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_free
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_krb5_store_int32
	testl	%eax, %eax
	je	LBB0_11
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %edx
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_krb5_ret_string
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	callq	_free
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%lu: %s\n"

	.comm	_logfile,4,2                    ## @logfile
L_.str.1:                               ## @.str.1
	.asciz	"client send bad log command: %d"

	.no_dead_strip	_log_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function log_function
_log_function:                          ; @log_function
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldr	w0, [x0]
	add	x1, sp, #28
	bl	_krb5_ret_int32
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x22, _logfile@GOTPAGE
Lloh3:
	ldr	x22, [x22, _logfile@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	x1, x21
	bl	_errx
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	add	x1, sp, #28
	bl	_krb5_ret_int32
	cbnz	x0, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [sp, #28]
	sub	w8, w2, #129
	cmp	w8, #2
	b.hs	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	add	x1, sp, #16
	bl	_krb5_ret_string
	cbnz	w0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_krb5_ret_int32
	cbnz	x0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_krb5_ret_string
	cbnz	w0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x3, x1, [sp, #8]
	ldrsw	x2, [sp, #24]
	mov	x0, x20
	bl	_printf
	ldr	w0, [x22]
	ldp	x4, x2, [sp, #8]
	ldrsw	x3, [sp, #24]
	mov	x1, x20
	bl	_fprintf
	ldr	w0, [x22]
	bl	_fflush
	ldr	x0, [sp, #16]
	bl	_free
	ldr	x0, [sp, #8]
	bl	_free
	ldr	w0, [x19]
	mov	w1, #0
	bl	_krb5_store_int32
	cbz	w0, LBB0_4
	b	LBB0_1
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w2, #128
	b.ne	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	add	x1, sp, #16
	bl	_krb5_ret_string
	cbnz	w0, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #16]
	bl	_free
	b	LBB0_4
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%lu: %s\n"

	.comm	_logfile,4,2                    ; @logfile
l_.str.1:                               ; @.str.1
	.asciz	"client send bad log command: %d"

	.no_dead_strip	_log_function
.subsections_via_symbols
