	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_acquire_cred_ext          ## -- Begin function _gss_acquire_cred_ext
	.p2align	4, 0x90
__gss_acquire_cred_ext:                 ## @_gss_acquire_cred_ext
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdi)
	cmpq	$0, 24(%rbp)
	je	LBB0_1
## %bb.2:
	movq	%r9, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	__gss_load_mech
	movq	_GSS_C_NO_OID@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_3
## %bb.6:
	movq	__gss_mech_oids@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_7
LBB0_1:
	movq	_GSS_S_CALL_INACCESSIBLE_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_3:
	movl	$0, -48(%rbp)
	movq	__gss_mech_oids@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_gss_test_oid_set_member
	cmpl	$0, -48(%rbp)
	je	LBB0_4
## %bb.5:
	movl	$1, -120(%rbp)
	movq	%r14, -112(%rbp)
	leaq	-120(%rbp), %r13
LBB0_7:
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_HEIM_SLIST_INIT
	cmpl	$0, (%r13)
	je	LBB0_17
## %bb.10:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rdx
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	leaq	-72(%rbp), %rax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	__gss_acquire_mech_cred
	addq	$32, %rsp
	movq	%rax, %rdi
	callq	_GSS_ERROR
	testq	%rax, %rax
	je	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jae	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	8(%r13), %rdi
	addq	%r14, %rdi
	callq	___gss_get_mechanism
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	_GSS_C_NO_NAME@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r13), %rdx
	addq	%r14, %rdx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-48(%rbp), %rcx
	callq	__gss_find_mn
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-72(%rbp), %rsi
	movq	_gmc_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_HEIM_SLIST_INSERT_HEAD
	jmp	LBB0_16
LBB0_17:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_HEIM_SLIST_FIRST
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movq	24(%rbp), %rax
	movq	%r14, (%rax)
	movq	$0, (%rbx)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_4:
	movq	_GSS_S_BAD_MECH@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	%r14, %rdi
	callq	_free
	movq	$0, (%rbx)
	movq	_GSS_S_NO_CRED@GOTPCREL(%rip), %rax
LBB0_20:
	movq	(%rax), %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_CALL_INACCESSIBLE_READ,8,3 ## @GSS_S_CALL_INACCESSIBLE_READ
	.comm	_GSS_C_NO_OID,8,3               ## @GSS_C_NO_OID
	.comm	__gss_mech_oids,8,3             ## @_gss_mech_oids
	.comm	_GSS_S_BAD_MECH,8,3             ## @GSS_S_BAD_MECH
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_GSS_C_NO_NAME,8,3              ## @GSS_C_NO_NAME
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_gmc_link,4,2                   ## @gmc_link
	.comm	_GSS_S_NO_CRED,8,3              ## @GSS_S_NO_CRED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_acquire_cred_ext          ; -- Begin function _gss_acquire_cred_ext
	.p2align	2
__gss_acquire_cred_ext:                 ; @_gss_acquire_cred_ext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w6, [sp, #28]                   ; 4-byte Folded Spill
	str	x4, [sp, #16]                   ; 8-byte Folded Spill
	str	xzr, [x0]
	cbz	x7, LBB0_3
; %bb.1:
	mov	x21, x7
	mov	x22, x5
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x19, x0
	bl	__gss_load_mech
Lloh0:
	adrp	x8, _GSS_C_NO_OID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NO_OID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, __gss_mech_oids@GOTPAGE
Lloh4:
	ldr	x8, [x8, __gss_mech_oids@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _GSS_S_CALL_INACCESSIBLE_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSS_S_CALL_INACCESSIBLE_READ@GOTPAGEOFF]
	b	LBB0_20
LBB0_4:
	str	wzr, [sp, #40]
Lloh8:
	adrp	x8, __gss_mech_oids@GOTPAGE
Lloh9:
	ldr	x8, [x8, __gss_mech_oids@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	add	x3, sp, #40
	mov	x0, x19
	mov	x1, x22
	bl	_gss_test_oid_set_member
	ldr	w8, [sp, #40]
	cbz	w8, LBB0_18
; %bb.5:
	mov	w8, #1
	str	w8, [sp, #48]
	str	x22, [sp, #56]
	add	x20, sp, #48
LBB0_6:
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_17
; %bb.7:
	mov	x27, x0
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	bl	_HEIM_SLIST_INIT
	ldr	w8, [x20]
	cbz	w8, LBB0_15
; %bb.8:
	mov	x21, #0
	mov	x23, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	x2, [sp, #40]
	add	x8, sp, #32
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x28
	mov	x3, x25
	mov	x4, x24
	ldr	x5, [sp, #16]                   ; 8-byte Folded Reload
	mov	x6, x22
	ldr	w7, [sp, #28]                   ; 4-byte Folded Reload
	bl	__gss_acquire_mech_cred
	bl	_GSS_ERROR
	cbz	x0, LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x23, x8
	b.hs	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [sp, #32]
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	___gss_get_mechanism
	cbz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x28, x0
Lloh11:
	adrp	x8, _GSS_C_NO_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GSS_C_NO_NAME@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x26
	b.eq	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x20, #8]
	add	x2, x8, x21
	add	x3, sp, #40
	mov	x0, x19
	mov	x1, x26
	bl	__gss_find_mn
Lloh14:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x1, [sp, #32]
Lloh17:
	adrp	x8, _gmc_link@GOTPAGE
Lloh18:
	ldr	x8, [x8, _gmc_link@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x27
	bl	_HEIM_SLIST_INSERT_HEAD
	b	LBB0_10
LBB0_15:
	mov	x0, x27
	bl	_HEIM_SLIST_FIRST
	cbz	w0, LBB0_19
; %bb.16:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x27, [x8]
	str	xzr, [x19]
Lloh20:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh25:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
Lloh27:
	adrp	x8, _GSS_S_BAD_MECH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GSS_S_BAD_MECH@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
	mov	x0, x27
	bl	_free
	str	xzr, [x19]
Lloh29:
	adrp	x8, _GSS_S_NO_CRED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GSS_S_NO_CRED@GOTPAGEOFF]
LBB0_20:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_CALL_INACCESSIBLE_READ,8,3 ; @GSS_S_CALL_INACCESSIBLE_READ
	.comm	_GSS_C_NO_OID,8,3               ; @GSS_C_NO_OID
	.comm	__gss_mech_oids,8,3             ; @_gss_mech_oids
	.comm	_GSS_S_BAD_MECH,8,3             ; @GSS_S_BAD_MECH
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_GSS_C_NO_NAME,8,3              ; @GSS_C_NO_NAME
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_gmc_link,4,2                   ; @gmc_link
	.comm	_GSS_S_NO_CRED,8,3              ; @GSS_S_NO_CRED
.subsections_via_symbols
