	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_set_type
_pkey_set_type:                         ## @pkey_set_type
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, -56(%rbp)
	xorl	%eax, %eax
	testq	%rsi, %rsi
	leaq	-56(%rbp), %r14
	cmovneq	%rax, %r14
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_free_it
LBB0_3:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rbx)
	jne	LBB0_5
## %bb.4:
	movl	$1, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_16
LBB0_5:
	movq	24(%rbx), %rdi
	callq	_ENGINE_finish
	movq	$0, 24(%rbx)
	movq	32(%rbx), %rdi
	callq	_ENGINE_finish
	movq	$0, 32(%rbx)
LBB0_6:
	movq	%r14, %rdi
	testq	%r13, %r13
	je	LBB0_8
## %bb.7:
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_EVP_PKEY_asn1_find_str
	jmp	LBB0_9
LBB0_8:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_EVP_PKEY_asn1_find
LBB0_9:
	movq	%rax, %r14
	testq	%rbx, %rbx
	jne	LBB0_12
## %bb.10:
	testq	%r15, %r15
	jne	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rdi
	callq	_ENGINE_finish
LBB0_12:
	testq	%r14, %r14
	je	LBB0_13
## %bb.14:
	movl	$1, %eax
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.15:
	movq	%r14, 8(%rbx)
	movq	-56(%rbp), %rcx
	movq	%rcx, 24(%rbx)
	movl	(%r14), %ecx
	movl	%ecx, 16(%rbx)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rbx)
	jmp	LBB0_16
LBB0_13:
	movq	_EVP_F_PKEY_SET_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_UNSUPPORTED_ALGORITHM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_F_PKEY_SET_TYPE,4,2        ## @EVP_F_PKEY_SET_TYPE
	.comm	_EVP_R_UNSUPPORTED_ALGORITHM,4,2 ## @EVP_R_UNSUPPORTED_ALGORITHM
	.no_dead_strip	_pkey_set_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_set_type
_pkey_set_type:                         ; @pkey_set_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	x1, [sp, #8]
	add	x8, sp, #8
	cmp	x1, #0
	csel	x24, x8, xzr, eq
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_EVP_PKEY_free_it
LBB0_3:
	ldr	w8, [x20]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_14
LBB0_5:
	ldr	x0, [x20, #24]
	bl	_ENGINE_finish
	str	xzr, [x20, #24]
	ldr	x0, [x20, #32]
	bl	_ENGINE_finish
	str	xzr, [x20, #32]
LBB0_6:
	mov	x0, x24
	cbz	x23, LBB0_8
; %bb.7:
	mov	x1, x23
	mov	x2, x22
	bl	_EVP_PKEY_asn1_find_str
	mov	x22, x0
	cbz	x20, LBB0_9
	b	LBB0_11
LBB0_8:
	mov	x1, x19
	bl	_EVP_PKEY_asn1_find
	mov	x22, x0
	cbnz	x20, LBB0_11
LBB0_9:
	cbnz	x21, LBB0_11
; %bb.10:
	ldr	x0, [sp, #8]
	bl	_ENGINE_finish
LBB0_11:
	cbz	x22, LBB0_15
; %bb.12:
	cbz	x20, LBB0_14
; %bb.13:
	str	x22, [x20, #8]
	ldr	x8, [sp, #8]
	str	x8, [x20, #24]
	ldr	w8, [x22]
	str	w8, [x20, #16]
	str	w19, [x20]
LBB0_14:
	mov	w0, #1
	b	LBB0_16
LBB0_15:
Lloh0:
	adrp	x8, _EVP_F_PKEY_SET_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_F_PKEY_SET_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EVP_R_UNSUPPORTED_ALGORITHM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_R_UNSUPPORTED_ALGORITHM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w0, #0
LBB0_16:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_F_PKEY_SET_TYPE,4,2        ; @EVP_F_PKEY_SET_TYPE
	.comm	_EVP_R_UNSUPPORTED_ALGORITHM,4,2 ; @EVP_R_UNSUPPORTED_ALGORITHM
	.no_dead_strip	_pkey_set_type
.subsections_via_symbols
