	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_connection_set_params      ## -- Begin function tls_connection_set_params
	.p2align	4, 0x90
_tls_connection_set_params:             ## @tls_connection_set_params
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	84(%rbx), %esi
	movl	80(%rbx), %edx
	movl	72(%rbx), %r8d
	movl	76(%rbx), %ecx
	movq	%r14, %rdi
	callq	_tls_connection_set_subject_match
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	movl	68(%rbx), %edx
	movl	64(%rbx), %ecx
	movl	56(%rbx), %r9d
	movl	60(%rbx), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_tls_connection_ca_cert
	testq	%rax, %rax
	js	LBB0_10
## %bb.2:
	movl	52(%rbx), %esi
	movl	44(%rbx), %ecx
	movl	48(%rbx), %edx
	movq	%r14, %rdi
	callq	_tls_connection_client_cert
	testq	%rax, %rax
	js	LBB0_11
## %bb.3:
	movl	40(%rbx), %edx
	movl	36(%rbx), %ecx
	movl	28(%rbx), %r9d
	movl	32(%rbx), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_tls_connection_private_key
	testq	%rax, %rax
	js	LBB0_12
## %bb.4:
	movl	24(%rbx), %esi
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	%r14, %rdi
	callq	_tls_connection_dh
	testq	%rax, %rax
	js	LBB0_13
## %bb.5:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movl	4(%r14), %edi
	callq	_wolfSSL_set_cipher_list
	cmpl	$1, %eax
	jne	LBB0_17
LBB0_7:
	movl	4(%r14), %edi
	movl	(%rbx), %esi
	callq	_tls_set_conn_flags
	movl	(%rbx), %eax
	movq	_TLS_CONN_REQUIRE_OCSP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_14
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_14
LBB0_10:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_14
LBB0_11:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_14
LBB0_12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_14
LBB0_13:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_14:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_15:
	movl	$-1, %eax
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_15
LBB0_18:
	movq	_TLS_CONN_REQUEST_OCSP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	movl	(%r12), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%rbx), %eax
LBB0_20:
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: set params"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Error setting subject match"

L_.str.2:                               ## @.str.2
	.asciz	"Error setting CA cert"

L_.str.3:                               ## @.str.3
	.asciz	"Error setting client cert"

L_.str.4:                               ## @.str.4
	.asciz	"Error setting private key"

L_.str.5:                               ## @.str.5
	.asciz	"Error setting DH"

L_.str.6:                               ## @.str.6
	.asciz	"wolfSSL: Failed to set cipher string '%s'"

	.comm	_TLS_CONN_REQUIRE_OCSP,4,2      ## @TLS_CONN_REQUIRE_OCSP
L_.str.7:                               ## @.str.7
	.asciz	"wolfSSL: No OCSP support included - reject configuration"

	.comm	_TLS_CONN_REQUEST_OCSP,4,2      ## @TLS_CONN_REQUEST_OCSP
L_.str.8:                               ## @.str.8
	.asciz	"wolfSSL: No OCSP support included - allow optional OCSP case to continue"

	.comm	_SSL_SUCCESS,8,3                ## @SSL_SUCCESS
	.comm	_WOLFSSL_CSR2_OCSP_MULTI,4,2    ## @WOLFSSL_CSR2_OCSP_MULTI
	.comm	_WOLFSSL_CSR_OCSP,4,2           ## @WOLFSSL_CSR_OCSP
	.comm	_WOLFSSL_CSR_OCSP_USE_NONCE,4,2 ## @WOLFSSL_CSR_OCSP_USE_NONCE
	.comm	_ctx,8,3                        ## @ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_connection_set_params      ; -- Begin function tls_connection_set_params
	.p2align	2
_tls_connection_set_params:             ; @tls_connection_set_params
	.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, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldp	w2, w1, [x20, #80]
	ldp	w4, w3, [x20, #72]
	mov	x0, x19
	bl	_tls_connection_set_subject_match
	tbnz	x0, #63, LBB0_9
; %bb.1:
	ldp	w3, w2, [x20, #64]
	ldp	w5, w4, [x20, #56]
	mov	x0, x21
	mov	x1, x19
	bl	_tls_connection_ca_cert
	tbnz	x0, #63, LBB0_10
; %bb.2:
	ldp	w2, w1, [x20, #48]
	ldr	w3, [x20, #44]
	mov	x0, x19
	bl	_tls_connection_client_cert
	tbnz	x0, #63, LBB0_11
; %bb.3:
	ldp	w3, w2, [x20, #36]
	ldp	w5, w4, [x20, #28]
	mov	x0, x21
	mov	x1, x19
	bl	_tls_connection_private_key
	tbnz	x0, #63, LBB0_12
; %bb.4:
	ldp	w2, w1, [x20, #20]
	ldr	w3, [x20, #16]
	mov	x0, x19
	bl	_tls_connection_dh
	tbnz	x0, #63, LBB0_13
; %bb.5:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_7
; %bb.6:
	ldr	w0, [x19, #4]
	bl	_wolfSSL_set_cipher_list
	cmp	w0, #1
	b.ne	LBB0_14
LBB0_7:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_tls_set_conn_flags
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _TLS_CONN_REQUIRE_OCSP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TLS_CONN_REQUIRE_OCSP@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.8:
Lloh7:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.7@PAGE
Lloh11:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_15
LBB0_9:
Lloh12:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_10:
Lloh17:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_11:
Lloh22:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_12:
Lloh27:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_13:
Lloh32:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh37:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh40:
	adrp	x1, l_.str.6@PAGE
Lloh41:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_15:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_16:
	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
LBB0_17:
Lloh42:
	adrp	x9, _TLS_CONN_REQUEST_OCSP@GOTPAGE
Lloh43:
	ldr	x9, [x9, _TLS_CONN_REQUEST_OCSP@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	w0, [x22]
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x20]
LBB0_19:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_16
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: set params"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Error setting subject match"

l_.str.2:                               ; @.str.2
	.asciz	"Error setting CA cert"

l_.str.3:                               ; @.str.3
	.asciz	"Error setting client cert"

l_.str.4:                               ; @.str.4
	.asciz	"Error setting private key"

l_.str.5:                               ; @.str.5
	.asciz	"Error setting DH"

l_.str.6:                               ; @.str.6
	.asciz	"wolfSSL: Failed to set cipher string '%s'"

	.comm	_TLS_CONN_REQUIRE_OCSP,4,2      ; @TLS_CONN_REQUIRE_OCSP
l_.str.7:                               ; @.str.7
	.asciz	"wolfSSL: No OCSP support included - reject configuration"

	.comm	_TLS_CONN_REQUEST_OCSP,4,2      ; @TLS_CONN_REQUEST_OCSP
l_.str.8:                               ; @.str.8
	.asciz	"wolfSSL: No OCSP support included - allow optional OCSP case to continue"

	.comm	_SSL_SUCCESS,8,3                ; @SSL_SUCCESS
	.comm	_WOLFSSL_CSR2_OCSP_MULTI,4,2    ; @WOLFSSL_CSR2_OCSP_MULTI
	.comm	_WOLFSSL_CSR_OCSP,4,2           ; @WOLFSSL_CSR_OCSP
	.comm	_WOLFSSL_CSR_OCSP_USE_NONCE,4,2 ; @WOLFSSL_CSR_OCSP_USE_NONCE
	.comm	_ctx,8,3                        ; @ctx
.subsections_via_symbols
