	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_rpc_gss_destroy_client
_svc_rpc_gss_destroy_client:            ## @svc_rpc_gss_destroy_client
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_log_debug
	cmpl	$0, 36(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	36(%rbx), %rsi
	movq	_GSS_C_NO_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rdi
	callq	_gss_delete_sec_context
LBB0_2:
	cmpl	$0, 32(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	32(%rbx), %rsi
	leaq	-12(%rbp), %rdi
	callq	_gss_release_name
LBB0_4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movl	(%rdi), %esi
	addl	$40, %esi
	callq	_mem_free
LBB0_6:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:
	leaq	16(%rbx), %rsi
	leaq	-12(%rbp), %rdi
	callq	_gss_release_buffer
LBB0_8:
	movq	_svc_rpc_gss_client_hash@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rbx), %rax
	movq	_CLIENT_HASH_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_9
## %bb.10:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_11
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_11:
	leaq	(%rcx,%rdx,4), %rdi
	movq	_cl_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	_cl_alllink@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_svc_rpc_gss_clients@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	_svc_rpc_gss_client_count@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_mem_free
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in svc_rpc_gss_destroy_client()"

	.comm	_GSS_C_NO_BUFFER,4,2            ## @GSS_C_NO_BUFFER
	.comm	_svc_rpc_gss_client_hash,8,3    ## @svc_rpc_gss_client_hash
	.comm	_CLIENT_HASH_SIZE,8,3           ## @CLIENT_HASH_SIZE
	.comm	_cl_link,4,2                    ## @cl_link
	.comm	_svc_rpc_gss_clients,4,2        ## @svc_rpc_gss_clients
	.comm	_cl_alllink,4,2                 ## @cl_alllink
	.comm	_svc_rpc_gss_client_count,4,2   ## @svc_rpc_gss_client_count
	.no_dead_strip	_svc_rpc_gss_destroy_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_rpc_gss_destroy_client
_svc_rpc_gss_destroy_client:            ; @svc_rpc_gss_destroy_client
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debug
	mov	x1, x19
	ldr	w8, [x1, #36]!
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _GSS_C_NO_BUFFER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_C_NO_BUFFER@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_gss_delete_sec_context
LBB0_2:
	mov	x1, x19
	ldr	w8, [x1, #32]!
	cbz	w8, LBB0_4
; %bb.3:
	add	x0, sp, #12
	bl	_gss_release_name
LBB0_4:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x0]
	add	w1, w8, #40
	bl	_mem_free
LBB0_6:
	mov	x1, x19
	ldr	x8, [x1, #16]!
	cbz	x8, LBB0_8
; %bb.7:
	add	x0, sp, #12
	bl	_gss_release_buffer
LBB0_8:
Lloh5:
	adrp	x8, _svc_rpc_gss_client_hash@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svc_rpc_gss_client_hash@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
Lloh8:
	adrp	x10, _CLIENT_HASH_SIZE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CLIENT_HASH_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	udiv	x11, x9, x10
	msub	x9, x11, x10, x9
	add	x0, x8, x9, lsl #2
Lloh11:
	adrp	x8, _cl_link@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cl_link@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_TAILQ_REMOVE
Lloh14:
	adrp	x8, _cl_alllink@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cl_alllink@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x0, _svc_rpc_gss_clients@GOTPAGE
Lloh18:
	ldr	x0, [x0, _svc_rpc_gss_clients@GOTPAGEOFF]
	mov	x1, x19
	bl	_TAILQ_REMOVE
Lloh19:
	adrp	x8, _svc_rpc_gss_client_count@GOTPAGE
Lloh20:
	ldr	x8, [x8, _svc_rpc_gss_client_count@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	mov	w1, #40
	bl	_mem_free
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in svc_rpc_gss_destroy_client()"

	.comm	_GSS_C_NO_BUFFER,4,2            ; @GSS_C_NO_BUFFER
	.comm	_svc_rpc_gss_client_hash,8,3    ; @svc_rpc_gss_client_hash
	.comm	_CLIENT_HASH_SIZE,8,3           ; @CLIENT_HASH_SIZE
	.comm	_cl_link,4,2                    ; @cl_link
	.comm	_svc_rpc_gss_clients,4,2        ; @svc_rpc_gss_clients
	.comm	_cl_alllink,4,2                 ; @cl_alllink
	.comm	_svc_rpc_gss_client_count,4,2   ; @svc_rpc_gss_client_count
	.no_dead_strip	_svc_rpc_gss_destroy_client
.subsections_via_symbols
