	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_dh_file
_load_dh_file:                          ## @load_dh_file
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	callq	_AllocateFile
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_DHparams
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_FreeFile
	testq	%r14, %r14
	je	LBB0_6
## %bb.11:
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	callq	_DH_check
	testq	%rax, %rax
	je	LBB0_12
## %bb.16:
	movl	-36(%rbp), %eax
	movq	_DH_CHECK_P_NOT_PRIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.17:
	testl	%r15d, %r15d
	jne	LBB0_18
## %bb.19:
	movq	_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_20
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), %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_28
LBB0_12:
	testl	%r15d, %r15d
	jne	LBB0_13
## %bb.14:
	movq	_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_7:
	movq	_FATAL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ebx
	movq	_ERRCODE_CONFIG_FILE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	callq	_SSLerrmessage
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_10
LBB0_21:
	movq	_DH_NOT_SUITABLE_GENERATOR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.22:
	movq	_DH_CHECK_P_NOT_SAFE_PRIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.23:
	testl	%r15d, %r15d
	jne	LBB0_24
## %bb.25:
	movq	_LOG@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_18:
	movq	_FATAL@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %ebx
	movq	_ERRCODE_CONFIG_FILE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.4(%rip), %rdi
LBB0_27:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_errmsg
	jmp	LBB0_28
LBB0_13:
	movq	_FATAL@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %ebx
	movq	_ERRCODE_CONFIG_FILE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	callq	_SSLerrmessage
	leaq	L_.str.3(%rip), %rdi
LBB0_10:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
LBB0_28:
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_29:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_FATAL@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %ebx
	movq	_ERRCODE_CONFIG_FILE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_LOG,4,2                        ## @LOG
L_.str.1:                               ## @.str.1
	.asciz	"could not open DH parameters file \"%s\": %m"

	.comm	_ERRCODE_CONFIG_FILE_ERROR,4,2  ## @ERRCODE_CONFIG_FILE_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"could not load DH parameters file: %s"

L_.str.3:                               ## @.str.3
	.asciz	"invalid DH parameters: %s"

	.comm	_DH_CHECK_P_NOT_PRIME,4,2       ## @DH_CHECK_P_NOT_PRIME
L_.str.4:                               ## @.str.4
	.asciz	"invalid DH parameters: p is not prime"

	.comm	_DH_NOT_SUITABLE_GENERATOR,4,2  ## @DH_NOT_SUITABLE_GENERATOR
	.comm	_DH_CHECK_P_NOT_SAFE_PRIME,4,2  ## @DH_CHECK_P_NOT_SAFE_PRIME
L_.str.5:                               ## @.str.5
	.asciz	"invalid DH parameters: neither suitable generator or safe prime"

	.no_dead_strip	_load_dh_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_dh_file
_load_dh_file:                          ; @load_dh_file
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocateFile
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_DHparams
	mov	x20, x0
	mov	x0, x21
	bl	_FreeFile
	cbz	x20, LBB0_6
; %bb.2:
	add	x1, sp, #12
	mov	x0, x20
	bl	_DH_check
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _DH_CHECK_P_NOT_PRIME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DH_CHECK_P_NOT_PRIME@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
Lloh5:
	adrp	x8, _FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh7:
	adrp	x9, _LOG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w19, #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
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_5:
Lloh14:
	adrp	x8, _FATAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh16:
	adrp	x9, _LOG@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
	bl	_errcode_for_file_access
	str	x20, [sp]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_6:
Lloh20:
	adrp	x8, _FATAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh22:
	adrp	x9, _LOG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
Lloh24:
	adrp	x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_errcode
	bl	_ERR_get_error
	bl	_SSLerrmessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	b	LBB0_12
LBB0_7:
Lloh29:
	adrp	x8, _FATAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh31:
	adrp	x9, _LOG@GOTPAGE
Lloh32:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
Lloh33:
	adrp	x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_errcode
	bl	_ERR_get_error
	bl	_SSLerrmessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh36:
	adrp	x0, l_.str.3@PAGE
Lloh37:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh38:
	adrp	x9, _DH_NOT_SUITABLE_GENERATOR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _DH_NOT_SUITABLE_GENERATOR@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:
Lloh41:
	adrp	x9, _DH_CHECK_P_NOT_SAFE_PRIME@GOTPAGE
Lloh42:
	ldr	x9, [x9, _DH_CHECK_P_NOT_SAFE_PRIME@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
Lloh44:
	adrp	x8, _FATAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh46:
	adrp	x9, _LOG@GOTPAGE
Lloh47:
	ldr	x9, [x9, _LOG@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
Lloh48:
	adrp	x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ERRCODE_CONFIG_FILE_ERROR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_errcode
Lloh51:
	adrp	x0, l_.str.5@PAGE
Lloh52:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_11:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	mov	x20, #0
LBB0_12:
	mov	x0, x20
	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 AdrpAdd	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	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_LOG,4,2                        ; @LOG
l_.str.1:                               ; @.str.1
	.asciz	"could not open DH parameters file \"%s\": %m"

	.comm	_ERRCODE_CONFIG_FILE_ERROR,4,2  ; @ERRCODE_CONFIG_FILE_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"could not load DH parameters file: %s"

l_.str.3:                               ; @.str.3
	.asciz	"invalid DH parameters: %s"

	.comm	_DH_CHECK_P_NOT_PRIME,4,2       ; @DH_CHECK_P_NOT_PRIME
l_.str.4:                               ; @.str.4
	.asciz	"invalid DH parameters: p is not prime"

	.comm	_DH_NOT_SUITABLE_GENERATOR,4,2  ; @DH_NOT_SUITABLE_GENERATOR
	.comm	_DH_CHECK_P_NOT_SAFE_PRIME,4,2  ; @DH_CHECK_P_NOT_SAFE_PRIME
l_.str.5:                               ; @.str.5
	.asciz	"invalid DH parameters: neither suitable generator or safe prime"

	.no_dead_strip	_load_dh_file
.subsections_via_symbols
