	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_default
_get_default:                           ## @get_default
	.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
	movl	%edx, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_krb5_principal_get_realm
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rcx
	leaq	-28(%rbp), %rsi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	callq	_krb5_make_principal
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	-28(%rbp), %esi
	movq	_KADM5_PRINCIPAL_NORMAL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_kadm5_get_principal
	movq	%rax, %rbx
	movl	(%r15), %edi
	movl	-28(%rbp), %esi
	callq	_krb5_free_principal
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default"

	.comm	_KADM5_PRINCIPAL_NORMAL_MASK,4,2 ## @KADM5_PRINCIPAL_NORMAL_MASK
	.no_dead_strip	_get_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_default
_get_default:                           ; @get_default
	.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	x20, x2
	mov	x19, x0
	ldr	w0, [x0]
	bl	_krb5_principal_get_realm
	mov	x2, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	add	x1, sp, #12
	mov	x4, #0
	bl	_krb5_make_principal
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [sp, #12]
Lloh2:
	adrp	x8, _KADM5_PRINCIPAL_NORMAL_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KADM5_PRINCIPAL_NORMAL_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_kadm5_get_principal
	mov	x21, x0
	ldr	w0, [x19]
	ldr	w1, [sp, #12]
	bl	_krb5_free_principal
LBB0_2:
	mov	x0, x21
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default"

	.comm	_KADM5_PRINCIPAL_NORMAL_MASK,4,2 ; @KADM5_PRINCIPAL_NORMAL_MASK
	.no_dead_strip	_get_default
.subsections_via_symbols
