	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_rpc_gss_create_client
_svc_rpc_gss_create_client:             ## @svc_rpc_gss_create_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_rpc_gss_log_debug
	movl	$48, %edi
	callq	_mem_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	leaq	44(%rbx), %rdi
	movl	$2, %esi
	callq	_refcount_init
	leaq	40(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sx_init
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rsi
	callq	_getcredhostid
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	leaq	-32(%rbp), %rdi
	callq	_getboottime
	movl	-32(%rbp), %eax
	movl	%eax, 16(%rbx)
	movq	_svc_rpc_gss_next_clientid@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rax
	leal	1(%rax), %edx
	movl	%edx, (%rcx)
	movq	%rax, 8(%rbx)
	movq	_CLIENT_NEW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	movq	_time_uptime@GOTPCREL(%rip), %rcx
	movl	$300, %edx                      ## imm = 0x12C
	addq	(%rcx), %rdx
	movq	%rdx, 24(%rbx)
	movq	_svc_rpc_gss_client_hash@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_svc_rpc_gss_client_hash_size@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	leaq	(%rcx,%rdx,4), %r14
	movq	_svc_rpc_gss_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_sx_xlock
	movq	_cl_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_HEAD
	movq	_cl_alllink@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_svc_rpc_gss_clients@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_HEAD
	movq	_svc_rpc_gss_client_count@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r15, %rdi
	callq	_sx_xunlock
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in svc_rpc_gss_create_client()"

L_.str.1:                               ## @.str.1
	.asciz	"GSS-client"

	.comm	_curthread,8,3                  ## @curthread
	.comm	_svc_rpc_gss_next_clientid,4,2  ## @svc_rpc_gss_next_clientid
	.comm	_CLIENT_NEW,4,2                 ## @CLIENT_NEW
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_time_uptime,8,3                ## @time_uptime
	.comm	_svc_rpc_gss_client_hash,8,3    ## @svc_rpc_gss_client_hash
	.comm	_svc_rpc_gss_client_hash_size,8,3 ## @svc_rpc_gss_client_hash_size
	.comm	_svc_rpc_gss_lock,4,2           ## @svc_rpc_gss_lock
	.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_create_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_create_client
_svc_rpc_gss_create_client:             ; @svc_rpc_gss_create_client
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_rpc_gss_log_debug
	mov	w0, #48
	bl	_mem_alloc
	mov	x19, x0
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	add	x0, x19, #44
	mov	w1, #2
	bl	_refcount_init
	add	x0, x19, #40
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sx_init
Lloh4:
	adrp	x8, _curthread@GOTPAGE
Lloh5:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, sp
	bl	_getcredhostid
	ldr	x8, [sp]
	str	x8, [x19]
	add	x0, sp, #8
	bl	_getboottime
	ldr	w8, [sp, #8]
	str	w8, [x19, #16]
Lloh7:
	adrp	x8, _svc_rpc_gss_next_clientid@GOTPAGE
Lloh8:
	ldr	x8, [x8, _svc_rpc_gss_next_clientid@GOTPAGEOFF]
	ldrsw	x9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	str	x9, [x19, #8]
Lloh9:
	adrp	x8, _CLIENT_NEW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLIENT_NEW@GOTPAGEOFF]
Lloh11:
	adrp	x10, _FALSE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #32]
Lloh15:
	adrp	x8, _time_uptime@GOTPAGE
Lloh16:
	ldr	x8, [x8, _time_uptime@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x8, x8, #300
	str	x8, [x19, #24]
Lloh18:
	adrp	x8, _svc_rpc_gss_client_hash@GOTPAGE
Lloh19:
	ldr	x8, [x8, _svc_rpc_gss_client_hash@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x10, _svc_rpc_gss_client_hash_size@GOTPAGE
Lloh22:
	ldr	x10, [x10, _svc_rpc_gss_client_hash_size@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	udiv	x11, x9, x10
	msub	x9, x11, x10, x9
	add	x20, x8, x9, lsl #2
Lloh24:
	adrp	x21, _svc_rpc_gss_lock@GOTPAGE
Lloh25:
	ldr	x21, [x21, _svc_rpc_gss_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_sx_xlock
Lloh26:
	adrp	x8, _cl_link@GOTPAGE
Lloh27:
	ldr	x8, [x8, _cl_link@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_TAILQ_INSERT_HEAD
Lloh29:
	adrp	x8, _cl_alllink@GOTPAGE
Lloh30:
	ldr	x8, [x8, _cl_alllink@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x0, _svc_rpc_gss_clients@GOTPAGE
Lloh33:
	ldr	x0, [x0, _svc_rpc_gss_clients@GOTPAGEOFF]
	mov	x1, x19
	bl	_TAILQ_INSERT_HEAD
Lloh34:
	adrp	x8, _svc_rpc_gss_client_count@GOTPAGE
Lloh35:
	ldr	x8, [x8, _svc_rpc_gss_client_count@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x21
	bl	_sx_xunlock
	mov	x0, x19
	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	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in svc_rpc_gss_create_client()"

l_.str.1:                               ; @.str.1
	.asciz	"GSS-client"

	.comm	_curthread,8,3                  ; @curthread
	.comm	_svc_rpc_gss_next_clientid,4,2  ; @svc_rpc_gss_next_clientid
	.comm	_CLIENT_NEW,4,2                 ; @CLIENT_NEW
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_time_uptime,8,3                ; @time_uptime
	.comm	_svc_rpc_gss_client_hash,8,3    ; @svc_rpc_gss_client_hash
	.comm	_svc_rpc_gss_client_hash_size,8,3 ; @svc_rpc_gss_client_hash_size
	.comm	_svc_rpc_gss_lock,4,2           ; @svc_rpc_gss_lock
	.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_create_client
.subsections_via_symbols
