	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gsskrb5_verify_8003_checksum  ## -- Begin function _gsskrb5_verify_8003_checksum
	.p2align	4, 0x90
__gsskrb5_verify_8003_checksum:         ## @_gsskrb5_verify_8003_checksum
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdx), %rax
	movq	_CKSUMTYPE_GSSAPI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	cmpl	$23, 8(%rdx)
	jle	LBB0_2
## %bb.3:
	movq	%r8, %r14
	movq	%rsi, %r15
	movq	16(%rbx), %rdi
	leaq	-68(%rbp), %rsi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	__gsskrb5_decode_om_uint32
	cmpl	$16, -68(%rbp)
	jne	LBB0_2
## %bb.4:
	movq	_GSS_C_NO_CHANNEL_BINDINGS@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_8
## %bb.5:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %rdi
	leaq	__gsskrb5_verify_8003_checksum.zeros(%rip), %rsi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	$16, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_hash_input_chan_bindings
	testq	%rax, %rax
	jne	LBB0_2
## %bb.7:
	leaq	-64(%rbp), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$16, %edx
	callq	_ct_memcmp
	testq	%rax, %rax
	jne	LBB0_2
LBB0_8:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	leaq	20(%r15), %rdi
	movq	%r12, %rsi
	callq	__gsskrb5_decode_om_uint32
	movl	8(%rbx), %eax
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rbx
	cmpl	$25, %eax
	jl	LBB0_16
## %bb.9:
	movq	_GSS_C_DELEG_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	je	LBB0_16
## %bb.10:
	cmpl	$27, %eax
	jbe	LBB0_2
## %bb.11:
	cmpw	$1, 24(%r15)
	jne	LBB0_2
## %bb.12:
	movzbl	26(%r15), %edi
	movb	%dil, (%r14)
	leal	28(%rdi), %ecx
	cmpl	%ecx, %eax
	jae	LBB0_13
LBB0_2:
	movl	$0, (%r13)
	movq	_GSS_S_BAD_BINDINGS@GOTPCREL(%rip), %rbx
LBB0_16:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	addq	$28, %r15
	movzbl	(%r14), %edx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	jmp	LBB0_16
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,__gsskrb5_verify_8003_checksum.zeros,16,4 ## @_gsskrb5_verify_8003_checksum.zeros
	.comm	_CKSUMTYPE_GSSAPI,8,3           ## @CKSUMTYPE_GSSAPI
	.comm	_GSS_S_BAD_BINDINGS,4,2         ## @GSS_S_BAD_BINDINGS
	.comm	_GSS_C_NO_CHANNEL_BINDINGS,8,3  ## @GSS_C_NO_CHANNEL_BINDINGS
	.comm	_GSS_C_DELEG_FLAG,4,2           ## @GSS_C_DELEG_FLAG
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.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	__gsskrb5_verify_8003_checksum  ; -- Begin function _gsskrb5_verify_8003_checksum
	.p2align	2
__gsskrb5_verify_8003_checksum:         ; @_gsskrb5_verify_8003_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x2]
Lloh3:
	adrp	x9, _CKSUMTYPE_GSSAPI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CKSUMTYPE_GSSAPI@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.1:
	mov	x23, x2
	ldr	w8, [x2, #8]
	cmp	w8, #23
	b.le	LBB0_12
; %bb.2:
	mov	x20, x4
	mov	x22, x3
	mov	x24, x1
	ldr	x21, [x23, #16]
	add	x1, sp, #4
	mov	x0, x21
	bl	__gsskrb5_decode_om_uint32
	ldr	w8, [sp, #4]
	cmp	w8, #16
	b.ne	LBB0_12
; %bb.3:
Lloh6:
	adrp	x8, _GSS_C_NO_CHANNEL_BINDINGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSS_C_NO_CHANNEL_BINDINGS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x24
	b.eq	LBB0_7
; %bb.4:
	add	x25, x21, #4
Lloh9:
	adrp	x1, __gsskrb5_verify_8003_checksum.zeros@PAGE
Lloh10:
	add	x1, x1, __gsskrb5_verify_8003_checksum.zeros@PAGEOFF
	mov	x0, x25
	mov	w2, #16
	bl	_memcmp
	cbz	x0, LBB0_7
; %bb.5:
	add	x1, sp, #8
	mov	x0, x24
	bl	_hash_input_chan_bindings
	cbnz	x0, LBB0_12
; %bb.6:
	add	x0, sp, #8
	mov	x1, x25
	mov	w2, #16
	bl	_ct_memcmp
	cbnz	x0, LBB0_12
LBB0_7:
	add	x0, x21, #20
	mov	x1, x22
	bl	__gsskrb5_decode_om_uint32
	ldr	w8, [x23, #8]
	cmp	w8, #25
	b.lt	LBB0_17
; %bb.8:
	ldr	w9, [x22]
Lloh11:
	adrp	x10, _GSS_C_DELEG_FLAG@GOTPAGE
Lloh12:
	ldr	x10, [x10, _GSS_C_DELEG_FLAG@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_17
; %bb.9:
	cmp	w8, #27
	b.ls	LBB0_12
; %bb.10:
	ldrh	w9, [x21, #24]
	cmp	w9, #1
	b.ne	LBB0_12
; %bb.11:
	ldrb	w0, [x21, #26]
	strb	w0, [x20]
	add	w9, w0, #28
	cmp	w8, w9
	b.hs	LBB0_15
LBB0_12:
	str	wzr, [x19]
Lloh14:
	adrp	x8, _GSS_S_BAD_BINDINGS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GSS_S_BAD_BINDINGS@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	bl	_malloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_18
; %bb.16:
	add	x1, x21, #28
	ldrb	w2, [x20]
	bl	_memcpy
LBB0_17:
Lloh19:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_13
LBB0_18:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh24:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_13
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,__gsskrb5_verify_8003_checksum.zeros,16,0 ; @_gsskrb5_verify_8003_checksum.zeros
	.comm	_CKSUMTYPE_GSSAPI,8,3           ; @CKSUMTYPE_GSSAPI
	.comm	_GSS_S_BAD_BINDINGS,4,2         ; @GSS_S_BAD_BINDINGS
	.comm	_GSS_C_NO_CHANNEL_BINDINGS,8,3  ; @GSS_C_NO_CHANNEL_BINDINGS
	.comm	_GSS_C_DELEG_FLAG,4,2           ; @GSS_C_DELEG_FLAG
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
.subsections_via_symbols
