	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_hkdf_ctrl
_pkey_hkdf_ctrl:                        ## @pkey_hkdf_ctrl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_1
## %bb.2:
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	(%rdi), %r12
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movl	$1, %ebx
	testl	%r14d, %r14d
	je	LBB0_25
## %bb.8:
	testq	%r15, %r15
	je	LBB0_25
## %bb.9:
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	js	LBB0_25
## %bb.10:
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movl	4(%r12), %esi
	callq	_OPENSSL_clear_free
LBB0_12:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_OPENSSL_memdup
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_25
## %bb.13:
	movl	%r14d, 4(%r12)
	jmp	LBB0_24
LBB0_1:
	movl	$-2, %ebx
	jmp	LBB0_25
LBB0_6:
	movl	%r14d, (%r12)
	jmp	LBB0_24
LBB0_3:
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	movq	%r15, 40(%r12)
	jmp	LBB0_24
LBB0_14:
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	js	LBB0_25
## %bb.15:
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	movl	8(%r12), %esi
	callq	_OPENSSL_clear_free
LBB0_17:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_OPENSSL_memdup
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:
	movl	%r14d, 8(%r12)
	jmp	LBB0_24
LBB0_19:
	movl	$1, %ebx
	testl	%r14d, %r14d
	je	LBB0_25
## %bb.20:
	testq	%r15, %r15
	je	LBB0_25
## %bb.21:
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	js	LBB0_25
## %bb.22:
	movq	_HKDF_MAXBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	12(%r12), %edi
	subl	%edi, %eax
	cmpl	%r14d, %eax
	jl	LBB0_25
## %bb.23:
	addl	16(%r12), %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	addl	%r14d, 12(%r12)
LBB0_24:
	movl	$1, %ebx
LBB0_25:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_25
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_14
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_HKDF_MAXBUF,4,2                ## @HKDF_MAXBUF
	.no_dead_strip	_pkey_hkdf_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_hkdf_ctrl
_pkey_hkdf_ctrl:                        ; @pkey_hkdf_ctrl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	ldr	x21, [x0]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #1
	cbz	w19, LBB0_25
; %bb.3:
	cbz	x20, LBB0_25
; %bb.4:
	tbnz	w19, #31, LBB0_22
; %bb.5:
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x21, #4]
	bl	_OPENSSL_clear_free
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_memdup
	str	x0, [x21, #32]
	cbz	x0, LBB0_25
; %bb.8:
	str	w19, [x21, #4]
	b	LBB0_24
LBB0_9:
	mov	w0, #-2
	b	LBB0_25
LBB0_10:
	str	w19, [x21]
	b	LBB0_24
LBB0_11:
	cbz	x20, LBB0_22
; %bb.12:
	str	x20, [x21, #40]
	b	LBB0_24
LBB0_13:
	tbnz	w19, #31, LBB0_22
; %bb.14:
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w1, [x21, #8]
	bl	_OPENSSL_clear_free
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_memdup
	str	x0, [x21, #24]
	cbz	x0, LBB0_25
; %bb.17:
	str	w19, [x21, #8]
	b	LBB0_24
LBB0_18:
	mov	w0, #1
	cbz	w19, LBB0_25
; %bb.19:
	cbz	x20, LBB0_25
; %bb.20:
	tbnz	w19, #31, LBB0_22
; %bb.21:
Lloh2:
	adrp	x8, _HKDF_MAXBUF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HKDF_MAXBUF@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldr	w8, [x21, #12]
	sub	w9, w9, w8
	cmp	w9, w19
	b.ge	LBB0_23
LBB0_22:
	mov	w0, #0
	b	LBB0_25
LBB0_23:
	ldr	w9, [x21, #16]
	add	w0, w9, w8
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	ldr	w8, [x21, #12]
	add	w8, w8, w19
	str	w8, [x21, #12]
LBB0_24:
	mov	w0, #1
LBB0_25:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_HKDF_MAXBUF,4,2                ; @HKDF_MAXBUF
	.no_dead_strip	_pkey_hkdf_ctrl
.subsections_via_symbols
