	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_call
_key_call:                              ## @key_call
	.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
	movq	%r8, %r14
	movq	%rdx, %r13
	movq	_KEY_ENCRYPT_PK@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_geteuid
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	___key_encryptsession_pk_LOCAL
	jmp	LBB0_2
LBB0_3:
	movl	%edi, %ebx
	movq	_KEY_DECRYPT_PK@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_geteuid
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	___key_decryptsession_pk_LOCAL
	jmp	LBB0_2
LBB0_5:
	movq	_KEY_GEN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_geteuid
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	___key_gendes_LOCAL
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%ecx, %r15d
	movl	%esi, %r12d
	movq	_KEY_NET_GET@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	sete	%al
	movq	_KEY_NET_PUT@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	sete	%cl
	orb	%al, %cl
	movq	_KEY_GET_CONV@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	incl	%edi
	callq	_getkeyserv_handle
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_TOTAL_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movq	$0, -56(%rbp)
	movups	-56(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%rax, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movl	%r15d, %r8d
	movq	%r14, %r9
	callq	_clnt_call
	movq	%rax, %rcx
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_ENCRYPT_PK,4,2             ## @KEY_ENCRYPT_PK
	.comm	_KEY_DECRYPT_PK,4,2             ## @KEY_DECRYPT_PK
	.comm	_KEY_GEN,4,2                    ## @KEY_GEN
	.comm	_KEY_NET_GET,4,2                ## @KEY_NET_GET
	.comm	_KEY_NET_PUT,4,2                ## @KEY_NET_PUT
	.comm	_KEY_GET_CONV,4,2               ## @KEY_GET_CONV
	.comm	_TOTAL_TIMEOUT,4,2              ## @TOTAL_TIMEOUT
	.comm	_RPC_SUCCESS,8,3                ## @RPC_SUCCESS
	.no_dead_strip	_key_call
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_call
_key_call:                              ; @key_call
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x2
Lloh0:
	adrp	x8, _KEY_ENCRYPT_PK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_ENCRYPT_PK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	bl	_geteuid
	mov	x1, x20
	bl	___key_encryptsession_pk_LOCAL
	b	LBB0_6
LBB0_2:
	mov	x23, x0
Lloh3:
	adrp	x8, _KEY_DECRYPT_PK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEY_DECRYPT_PK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.3:
	bl	_geteuid
	mov	x1, x20
	bl	___key_decryptsession_pk_LOCAL
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _KEY_GEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_GEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_8
; %bb.5:
	bl	_geteuid
	mov	w1, #0
	bl	___key_gendes_LOCAL
LBB0_6:
	ldr	w8, [x0]
	str	w8, [x19]
	mov	w0, #1
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x21, x3
	mov	x22, x1
Lloh9:
	adrp	x8, _KEY_NET_GET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KEY_NET_GET@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _KEY_NET_PUT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _KEY_NET_PUT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _KEY_GET_CONV@GOTPAGE
Lloh16:
	ldr	x10, [x10, _KEY_GET_CONV@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w10, w23
	ccmp	w9, w23, #4, ne
	ccmp	w8, w23, #4, ne
	mov	w8, #1
	cinc	w0, w8, eq
	bl	_getkeyserv_handle
	cbz	x0, LBB0_7
; %bb.9:
Lloh18:
	adrp	x8, _TOTAL_TIMEOUT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TOTAL_TIMEOUT@GOTPAGEOFF]
Lloh20:
	ldr	w7, [x8]
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	mov	x5, x19
	mov	x6, #0
	bl	_clnt_call
Lloh21:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_ENCRYPT_PK,4,2             ; @KEY_ENCRYPT_PK
	.comm	_KEY_DECRYPT_PK,4,2             ; @KEY_DECRYPT_PK
	.comm	_KEY_GEN,4,2                    ; @KEY_GEN
	.comm	_KEY_NET_GET,4,2                ; @KEY_NET_GET
	.comm	_KEY_NET_PUT,4,2                ; @KEY_NET_PUT
	.comm	_KEY_GET_CONV,4,2               ; @KEY_GET_CONV
	.comm	_TOTAL_TIMEOUT,4,2              ; @TOTAL_TIMEOUT
	.comm	_RPC_SUCCESS,8,3                ; @RPC_SUCCESS
	.no_dead_strip	_key_call
.subsections_via_symbols
