	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_constrained_delegation
_check_constrained_delegation:          ## @check_constrained_delegation
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r13d
	movq	(%rcx), %rsi
	movq	(%r8), %rdx
	callq	_krb5_realm_compare
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	*%rax
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rcx
	movl	%r13d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_4:
	movq	_KRB5KDC_ERR_BADOPTION@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rcx
	movl	%r13d, %edi
	movq	%r15, %rsi
LBB0_5:
	xorl	%edx, %edx
	callq	_kdc_log
	jmp	LBB0_6
LBB0_7:
	movq	(%r12), %rsi
	movq	(%rbx), %rdx
	movl	%r13d, %edi
	callq	_krb5_principal_compare
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_10
LBB0_9:
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_10:
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_hdb_entry_get_ConstrainedDelegACL
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %r12
	movl	%r13d, %edi
	callq	_krb5_clear_error_message
LBB0_6:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.14:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rdx
	addq	%rbx, %rdx
	movl	%r13d, %edi
	movq	%r15, %rsi
	callq	_krb5_principal_compare
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%r14
	movq	-56(%rbp), %rax
	addq	$4, %rbx
	cmpq	(%rax), %r14
	jb	LBB0_15
LBB0_17:
	movq	_KRB5KDC_ERR_BADOPTION@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5KDC_ERR_BADOPTION,8,3      ## @KRB5KDC_ERR_BADOPTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad request for constrained delegation"

	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_check_constrained_delegation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_constrained_delegation
_check_constrained_delegation:          ; @check_constrained_delegation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x5
	mov	x24, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x1, [x3]
	ldr	x2, [x4]
	bl	_krb5_realm_compare
	cbz	w0, LBB0_12
; %bb.1:
	ldr	x8, [x23]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	blr	x8
	mov	x22, x0
	cbnz	x0, LBB0_13
	b	LBB0_14
LBB0_3:
	ldr	x1, [x22]
	ldr	x2, [x24]
	mov	x0, x19
	bl	_krb5_principal_compare
Lloh0:
	adrp	x23, _TRUE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_4:
	mov	x22, #0
	b	LBB0_14
LBB0_5:
	add	x1, sp, #8
	mov	x0, x22
	bl	_hdb_entry_get_ConstrainedDelegACL
	cbz	x0, LBB0_7
; %bb.6:
	mov	x22, x0
	mov	x0, x19
	bl	_krb5_clear_error_message
	b	LBB0_14
LBB0_7:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_12
; %bb.8:
	ldr	x9, [x8]
	cbz	x9, LBB0_12
; %bb.9:
	mov	x22, #0
	mov	x24, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x2, x8, x22
	mov	x0, x19
	mov	x1, x21
	bl	_krb5_principal_compare
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	add	x22, x22, #4
	cmp	x24, x9
	b.lo	LBB0_10
LBB0_12:
Lloh2:
	adrp	x8, _KRB5KDC_ERR_BADOPTION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KRB5KDC_ERR_BADOPTION@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x8]
LBB0_13:
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_kdc_log
LBB0_14:
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5KDC_ERR_BADOPTION,8,3      ; @KRB5KDC_ERR_BADOPTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad request for constrained delegation"

	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_check_constrained_delegation
.subsections_via_symbols
