	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gsskrb5_get_mech              ## -- Begin function _gsskrb5_get_mech
	.p2align	4, 0x90
__gsskrb5_get_mech:                     ## @_gsskrb5_get_mech
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r15d
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r13
	cmpl	$96, (%rdi)
	jne	LBB0_7
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	addq	$4, %r13
	leaq	-1(%rsi), %r12
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_der_get_length
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	-64(%rbp), %rax
	movq	-72(%rbp), %rcx
	addq	%rax, %rcx
	incq	%rcx
	cmpq	%rbx, %rcx
	jne	LBB0_7
## %bb.4:
	cmpl	$6, (%r13,%rax,4)
	jne	LBB0_7
## %bb.5:
	leaq	4(,%rax,4), %rbx
	addq	%r13, %rbx
	notq	%rax
	addq	%rax, %r12
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_der_get_length
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rax
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, (%r14)
	movl	-56(%rbp), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gsskrb5_get_mech              ; -- Begin function _gsskrb5_get_mech
	.p2align	2
__gsskrb5_get_mech:                     ; @_gsskrb5_get_mech
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	w8, [x20], #4
	cmp	w8, #96
	b.ne	LBB0_6
; %bb.2:
	mov	x19, x2
	mov	x22, x1
	sub	x21, x1, #1
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x21
	bl	_der_get_length
	cbnz	w0, LBB0_6
; %bb.3:
	ldp	x8, x9, [sp, #16]
	add	x9, x8, x9
	add	x9, x9, #1
	cmp	x9, x22
	b.ne	LBB0_6
; %bb.4:
	add	x20, x20, x8, lsl #2
	ldr	w9, [x20], #4
	cmp	w9, #6
	b.ne	LBB0_6
; %bb.5:
	mvn	x8, x8
	add	x1, x21, x8
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x20
	bl	_der_get_length
	cbz	w0, LBB0_8
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	x8, [sp]
	add	x8, x20, x8, lsl #2
	str	x8, [x19]
	ldr	w0, [sp, #8]
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
