	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initialize_ecdh
_initialize_ecdh:                       ## @initialize_ecdh
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_SSLECDHCurve@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_OBJ_sn2nid
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movl	%eax, %edi
	callq	_EC_KEY_new_by_curve_name
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:
	movq	%rax, %rbx
	movq	_SSL_OP_SINGLE_ECDH_USE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_SSL_CTX_set_options
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_SSL_CTX_set_tmp_ecdh
	movq	%rbx, %rdi
	callq	_EC_KEY_free
	movl	$1, %ebx
	jmp	LBB0_12
LBB0_1:
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.3:
	movq	_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.8:
	movq	_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_FATAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r14d
	movq	_ERRCODE_CONFIG_FILE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_10
LBB0_7:
	movq	_FATAL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %r14d
	movq	_ERRCODE_CONFIG_FILE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_errmsg
LBB0_10:
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSLECDHCurve,4,2               ## @SSLECDHCurve
	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_LOG,4,2                        ## @LOG
	.comm	_ERRCODE_CONFIG_FILE_ERROR,4,2  ## @ERRCODE_CONFIG_FILE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ECDH: unrecognized curve name: %s"

L_.str.1:                               ## @.str.1
	.asciz	"ECDH: could not create key"

	.comm	_SSL_OP_SINGLE_ECDH_USE,4,2     ## @SSL_OP_SINGLE_ECDH_USE
	.no_dead_strip	_initialize_ecdh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initialize_ecdh
_initialize_ecdh:                       ; @initialize_ecdh
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _SSLECDHCurve@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SSLECDHCurve@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_OBJ_sn2nid
	cbz	w0, LBB0_3
; %bb.1:
	bl	_EC_KEY_new_by_curve_name
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh2:
	adrp	x8, _SSL_OP_SINGLE_ECDH_USE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSL_OP_SINGLE_ECDH_USE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SSL_CTX_set_options
	mov	x0, x19
	mov	x1, x21
	bl	_SSL_CTX_set_tmp_ecdh
	mov	x0, x21
	bl	_EC_KEY_free
	mov	w0, #1
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh7:
	adrp	x9, _LOG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w8, [x21]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _FATAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh16:
	adrp	x9, _LOG@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
Lloh18:
	adrp	x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_errcode
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	mov	w0, #0
LBB0_6:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SSLECDHCurve,4,2               ; @SSLECDHCurve
	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_LOG,4,2                        ; @LOG
	.comm	_ERRCODE_CONFIG_FILE_ERROR,4,2  ; @ERRCODE_CONFIG_FILE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ECDH: unrecognized curve name: %s"

l_.str.1:                               ; @.str.1
	.asciz	"ECDH: could not create key"

	.comm	_SSL_OP_SINGLE_ECDH_USE,4,2     ; @SSL_OP_SINGLE_ECDH_USE
	.no_dead_strip	_initialize_ecdh
.subsections_via_symbols
