	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gssapi_verify_mech_header     ## -- Begin function _gssapi_verify_mech_header
	.p2align	4, 0x90
__gssapi_verify_mech_header:            ## @_gssapi_verify_mech_header
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	leaq	-40(%rbp), %rdx
	callq	__gsskrb5_get_mech
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_GSS_S_BAD_MECH@GOTPCREL(%rip), %r12
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.3:
	movq	-40(%rbp), %rdi
	movl	8(%r15), %esi
	movq	%rbx, %rdx
	callq	_ct_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	shlq	$2, %rbx
	addq	-40(%rbp), %rbx
	movq	%rbx, -40(%rbp)
	movq	%rbx, %rdi
	callq	_rk_UNCONST
	movq	%rax, (%r14)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %r12
	jmp	LBB0_5
LBB0_1:
	movq	_GSS_S_DEFECTIVE_TOKEN@GOTPCREL(%rip), %r12
LBB0_5:
	movl	(%r12), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ## @GSS_S_DEFECTIVE_TOKEN
	.comm	_GSS_S_BAD_MECH,4,2             ## @GSS_S_BAD_MECH
	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gssapi_verify_mech_header     ; -- Begin function _gssapi_verify_mech_header
	.p2align	2
__gssapi_verify_mech_header:            ; @_gssapi_verify_mech_header
	.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	x0, [x0]
	add	x2, sp, #8
	bl	__gsskrb5_get_mech
	tbnz	x0, #63, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	ldr	w1, [x20, #8]
	mov	x2, x21
	bl	_ct_memcmp
	cbz	x0, LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _GSS_S_BAD_MECH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_BAD_MECH@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #8]
	add	x0, x8, x21, lsl #2
	str	x0, [sp, #8]
	bl	_rk_UNCONST
	str	x0, [x19]
Lloh4:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ; @GSS_S_DEFECTIVE_TOKEN
	.comm	_GSS_S_BAD_MECH,4,2             ; @GSS_S_BAD_MECH
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
.subsections_via_symbols
