	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	(%rsi), %rdi
	callq	_setprogname
	movq	(%rbx), %rdi
	movq	_LOG_ODELAY@GOTPCREL(%rip), %rax
	movq	_LOG_PID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_LOG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_roken_openlog
	movq	_context@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_server_setup
	movl	%eax, %r14d
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_krb5_openlog
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %esi
	movl	%eax, %edx
	callq	_krb5_err
LBB0_2:
	movl	(%r15), %edi
	movq	-32(%rbp), %rsi
	callq	_krb5_set_warn_dest
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rcx
	movl	$1, %esi
	movl	%eax, %edx
	callq	_krb5_err
LBB0_4:
	movq	_service@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_doit
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_closelog
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.5:
	movq	_regpag_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	_krb5_tkfile@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.5(%rip), %r8
	xorl	%r9d, %r9d
	callq	_execl
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_ODELAY,4,2                 ## @LOG_ODELAY
	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_AUTH,4,2                   ## @LOG_AUTH
	.comm	_context,4,2                    ## @context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kfd"

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

L_.str.2:                               ## @.str.2
	.asciz	"krb5_set_warn_dest"

	.comm	_service,4,2                    ## @service
	.comm	_regpag_str,8,3                 ## @regpag_str
L_.str.3:                               ## @.str.3
	.asciz	"regpag"

L_.str.4:                               ## @.str.4
	.asciz	"-t"

	.comm	_krb5_tkfile,4,2                ## @krb5_tkfile
L_.str.5:                               ## @.str.5
	.asciz	"-r"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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	x19, x1
	mov	x21, x0
	ldr	x0, [x1]
	bl	_setprogname
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _LOG_ODELAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_ODELAY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LOG_PID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LOG_PID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh6:
	adrp	x8, _LOG_AUTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LOG_AUTH@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_roken_openlog
Lloh9:
	adrp	x20, _context@GOTPAGE
Lloh10:
	ldr	x20, [x20, _context@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_server_setup
	mov	x19, x0
	ldr	w0, [x20]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_krb5_openlog
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w0, [x20]
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
	ldr	w0, [x20]
	ldr	x1, [sp, #8]
	bl	_krb5_set_warn_dest
	cbz	w0, LBB0_4
; %bb.3:
	mov	x2, x0
	ldr	w0, [x20]
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
Lloh17:
	adrp	x8, _service@GOTPAGE
Lloh18:
	ldr	x8, [x8, _service@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_doit
	mov	x19, x0
	bl	_closelog
Lloh20:
	adrp	x8, _regpag_str@GOTPAGE
Lloh21:
	ldr	x8, [x8, _regpag_str@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
	cmp	w19, #0
	ccmp	x0, #0, #4, eq
	b.eq	LBB0_6
; %bb.5:
Lloh23:
	adrp	x8, _krb5_tkfile@GOTPAGE
Lloh24:
	ldr	x8, [x8, _krb5_tkfile@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh30:
	adrp	x4, l_.str.5@PAGE
Lloh31:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x5, #0
	bl	_execl
	mov	x19, x0
LBB0_6:
	mov	x0, x19
	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	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_ODELAY,4,2                 ; @LOG_ODELAY
	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_AUTH,4,2                   ; @LOG_AUTH
	.comm	_context,4,2                    ; @context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kfd"

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

l_.str.2:                               ; @.str.2
	.asciz	"krb5_set_warn_dest"

	.comm	_service,4,2                    ; @service
	.comm	_regpag_str,8,3                 ; @regpag_str
l_.str.3:                               ; @.str.3
	.asciz	"regpag"

l_.str.4:                               ; @.str.4
	.asciz	"-t"

	.comm	_krb5_tkfile,4,2                ; @krb5_tkfile
l_.str.5:                               ; @.str.5
	.asciz	"-r"

.subsections_via_symbols
