	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_do_config
_ssl_do_config:                         ## @ssl_do_config
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rdx, -48(%rbp)
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.1:
	testq	%r15, %r15
	jne	LBB0_6
## %bb.2:
	movq	_SSL_F_SSL_DO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_3:
	xorl	%r15d, %r15d
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%r15, %rdi
	callq	_SSL_CONF_CTX_free
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setg	%al
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.7:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rbx
	movq	%rbx, -48(%rbp)
LBB0_9:
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_conf_ssl_name_find
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	callq	_conf_ssl_get
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_SSL_CONF_CTX_new
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %r15
	movq	_SSL_CONF_FLAG_CERTIFICATE@GOTPCREL(%rip), %rax
	movq	_SSL_CONF_FLAG_REQUIRE_PRIVATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	cmovel	%ecx, %ebx
	movq	_SSL_CONF_FLAG_FILE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	testq	%r13, %r13
	je	LBB0_16
## %bb.12:
	movq	(%r13), %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_SSL_CONF_CTX_set_ssl
	jmp	LBB0_17
LBB0_13:
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.14:
	movq	_SSL_F_SSL_DO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_INVALID_CONFIGURATION_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$2, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_ERR_add_error_data
	jmp	LBB0_4
LBB0_15:
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_16:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %r14
	movq	%r15, %rdi
	callq	_SSL_CONF_CTX_set_ssl_ctx
LBB0_17:
	movq	_ssl_undefined_function@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%r14), %rdx
	xorl	%eax, %eax
	movl	$0, %esi
	cmpq	%rcx, (%r14)
	je	LBB0_19
## %bb.18:
	movq	_SSL_CONF_FLAG_SERVER@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_19:
	orl	%esi, %ebx
	cmpq	%rcx, %rdx
	je	LBB0_21
## %bb.20:
	movq	_SSL_CONF_FLAG_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_21:
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_SSL_CONF_CTX_set_flags
	cmpq	$0, -72(%rbp)
	je	LBB0_25
## %bb.22:
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r14
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_conf_ssl_get_cmd
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_SSL_CONF_cmd
	testl	%eax, %eax
	jle	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	incq	%rbx
	cmpq	-72(%rbp), %rbx
	jb	LBB0_23
LBB0_25:
	movq	%r15, %rdi
	callq	_SSL_CONF_CTX_finish
	movl	%eax, %r12d
	jmp	LBB0_5
LBB0_26:
	movl	%eax, %r12d
	movq	_SSL_F_SSL_DO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$-2, %r12d
	jne	LBB0_28
## %bb.27:
	movq	_SSL_R_UNKNOWN_COMMAND@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_28:
	movq	_SSL_R_BAD_VALUE@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %esi
	callq	_SSLerr
	movq	-48(%rbp), %rdx
	movq	-64(%rbp), %r8
	movq	-56(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %r9
	movl	$6, %edi
	xorl	%eax, %eax
	callq	_ERR_add_error_data
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_DO_CONFIG,4,2        ## @SSL_F_SSL_DO_CONFIG
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"system_default"

	.comm	_SSL_R_INVALID_CONFIGURATION_NAME,4,2 ## @SSL_R_INVALID_CONFIGURATION_NAME
L_.str.1:                               ## @.str.1
	.asciz	"name="

	.comm	_SSL_CONF_FLAG_FILE,4,2         ## @SSL_CONF_FLAG_FILE
	.comm	_SSL_CONF_FLAG_CERTIFICATE,4,2  ## @SSL_CONF_FLAG_CERTIFICATE
	.comm	_SSL_CONF_FLAG_REQUIRE_PRIVATE,4,2 ## @SSL_CONF_FLAG_REQUIRE_PRIVATE
	.comm	_ssl_undefined_function,8,3     ## @ssl_undefined_function
	.comm	_SSL_CONF_FLAG_SERVER,4,2       ## @SSL_CONF_FLAG_SERVER
	.comm	_SSL_CONF_FLAG_CLIENT,4,2       ## @SSL_CONF_FLAG_CLIENT
	.comm	_SSL_R_UNKNOWN_COMMAND,4,2      ## @SSL_R_UNKNOWN_COMMAND
	.comm	_SSL_R_BAD_VALUE,4,2            ## @SSL_R_BAD_VALUE
L_.str.2:                               ## @.str.2
	.asciz	"section="

L_.str.3:                               ## @.str.3
	.asciz	", cmd="

L_.str.4:                               ## @.str.4
	.asciz	", arg="

	.no_dead_strip	_ssl_do_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_do_config
_ssl_do_config:                         ; @ssl_do_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	stur	x2, [x29, #-56]
	cbnz	x0, LBB0_3
; %bb.1:
	cbnz	x21, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _SSL_F_SSL_DO_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_SSL_DO_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	x19, #0
	b	LBB0_21
LBB0_3:
	cbnz	x19, LBB0_6
; %bb.4:
	cbz	w23, LBB0_6
; %bb.5:
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
	stur	x19, [x29, #-56]
LBB0_6:
	add	x1, sp, #64
	mov	x0, x19
	bl	_conf_ssl_name_find
	cbz	w0, LBB0_10
; %bb.7:
	ldr	x0, [sp, #64]
	sub	x1, x29, #56
	add	x2, sp, #56
	bl	_conf_ssl_get
	mov	x20, x0
	bl	_SSL_CONF_CTX_new
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.8:
Lloh8:
	adrp	x8, _SSL_CONF_FLAG_FILE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_CONF_FLAG_FILE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _SSL_CONF_FLAG_CERTIFICATE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SSL_CONF_FLAG_CERTIFICATE@GOTPAGEOFF]
Lloh13:
	adrp	x10, _SSL_CONF_FLAG_REQUIRE_PRIVATE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _SSL_CONF_FLAG_REQUIRE_PRIVATE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w23, #0
	csel	w9, wzr, w9, ne
	orr	w23, w9, w8
	cbz	x22, LBB0_14
; %bb.9:
	ldr	x24, [x22]
	mov	x0, x19
	mov	x1, x22
	bl	_SSL_CONF_CTX_set_ssl
	b	LBB0_15
LBB0_10:
	cbnz	w23, LBB0_12
; %bb.11:
Lloh17:
	adrp	x8, _SSL_F_SSL_DO_CONFIG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_F_SSL_DO_CONFIG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _SSL_R_INVALID_CONFIGURATION_NAME@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSL_R_INVALID_CONFIGURATION_NAME@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_SSLerr
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_ERR_add_error_data
LBB0_12:
	mov	x19, #0
LBB0_13:
	mov	w21, #0
	b	LBB0_21
LBB0_14:
	ldr	x24, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_SSL_CONF_CTX_set_ssl_ctx
LBB0_15:
Lloh25:
	adrp	x8, _ssl_undefined_function@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ssl_undefined_function@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _SSL_CONF_FLAG_SERVER@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SSL_CONF_FLAG_SERVER@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	ldp	x10, x11, [x24]
	cmp	x10, x8
	csel	w9, wzr, w9, eq
	orr	w9, w23, w9
Lloh31:
	adrp	x10, _SSL_CONF_FLAG_CLIENT@GOTPAGE
Lloh32:
	ldr	x10, [x10, _SSL_CONF_FLAG_CLIENT@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	cmp	x11, x8
	csel	w8, wzr, w10, eq
	orr	w1, w9, w8
	mov	x0, x19
	bl	_SSL_CONF_CTX_set_flags
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_19
; %bb.16:
	mov	x22, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #48
	add	x3, sp, #40
	mov	x0, x20
	mov	x1, x22
	bl	_conf_ssl_get_cmd
	ldp	x2, x1, [sp, #40]
	mov	x0, x19
	bl	_SSL_CONF_cmd
	cmp	w0, #0
	b.le	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #56]
	cmp	x22, x8
	b.lo	LBB0_17
LBB0_19:
	mov	x0, x19
	bl	_SSL_CONF_CTX_finish
	mov	x21, x0
	b	LBB0_21
LBB0_20:
	mov	x21, x0
Lloh34:
	adrp	x8, _SSL_F_SSL_DO_CONFIG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SSL_F_SSL_DO_CONFIG@GOTPAGEOFF]
Lloh36:
	adrp	x9, _SSL_R_UNKNOWN_COMMAND@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SSL_R_UNKNOWN_COMMAND@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x8, _SSL_R_BAD_VALUE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SSL_R_BAD_VALUE@GOTPAGEOFF]
	cmn	w21, #2
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	bl	_SSLerr
	ldur	x2, [x29, #-56]
	ldp	x9, x8, [sp, #40]
Lloh41:
	adrp	x10, l_.str.4@PAGE
Lloh42:
	add	x10, x10, l_.str.4@PAGEOFF
	stp	x10, x9, [sp, #16]
Lloh43:
	adrp	x9, l_.str.3@PAGE
Lloh44:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x9, x8, [sp]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #6
	bl	_ERR_add_error_data
LBB0_21:
	mov	x0, x19
	bl	_SSL_CONF_CTX_free
	cmp	w21, #0
	cset	w0, gt
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_DO_CONFIG,4,2        ; @SSL_F_SSL_DO_CONFIG
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"system_default"

	.comm	_SSL_R_INVALID_CONFIGURATION_NAME,4,2 ; @SSL_R_INVALID_CONFIGURATION_NAME
l_.str.1:                               ; @.str.1
	.asciz	"name="

	.comm	_SSL_CONF_FLAG_FILE,4,2         ; @SSL_CONF_FLAG_FILE
	.comm	_SSL_CONF_FLAG_CERTIFICATE,4,2  ; @SSL_CONF_FLAG_CERTIFICATE
	.comm	_SSL_CONF_FLAG_REQUIRE_PRIVATE,4,2 ; @SSL_CONF_FLAG_REQUIRE_PRIVATE
	.comm	_ssl_undefined_function,8,3     ; @ssl_undefined_function
	.comm	_SSL_CONF_FLAG_SERVER,4,2       ; @SSL_CONF_FLAG_SERVER
	.comm	_SSL_CONF_FLAG_CLIENT,4,2       ; @SSL_CONF_FLAG_CLIENT
	.comm	_SSL_R_UNKNOWN_COMMAND,4,2      ; @SSL_R_UNKNOWN_COMMAND
	.comm	_SSL_R_BAD_VALUE,4,2            ; @SSL_R_BAD_VALUE
l_.str.2:                               ; @.str.2
	.asciz	"section="

l_.str.3:                               ; @.str.3
	.asciz	", cmd="

l_.str.4:                               ; @.str.4
	.asciz	", arg="

	.no_dead_strip	_ssl_do_config
.subsections_via_symbols
