	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_connection_private_key
_tls_connection_private_key:            ## @tls_connection_private_key
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rdx, %r15
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	testq	%r12, %r12
	je	LBB0_19
LBB0_2:
	testq	%rcx, %rcx
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	je	LBB0_3
## %bb.7:
	movq	%rcx, %rdi
	callq	_os_strdup
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.8:
	movl	$-1, %r14d
	jmp	LBB0_19
LBB0_3:
	xorl	%r14d, %r14d
LBB0_4:
	movq	_tls_passwd_cb@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_wolfSSL_CTX_set_default_passwd_cb
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wolfSSL_CTX_set_default_passwd_cb_userdata
	testq	%r12, %r12
	movq	%r13, %rbx
	je	LBB0_10
## %bb.5:
	movl	(%rbx), %edi
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_wolfSSL_use_PrivateKey_buffer
	testq	%rax, %rax
	js	LBB0_9
## %bb.6:
	movq	%r14, %r13
	xorl	%r14d, %r14d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_16
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_10:
	movq	%r14, %r13
	testq	%r15, %r15
	je	LBB0_11
## %bb.12:
	movl	(%rbx), %edi
	movq	_SSL_FILETYPE_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_wolfSSL_use_PrivateKey_file
	testq	%rax, %rax
	jns	LBB0_15
## %bb.13:
	movq	_MSG_INFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movl	(%rbx), %edi
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_wolfSSL_use_PrivateKey_file
	testq	%rax, %rax
	js	LBB0_14
LBB0_15:
	xorl	%r14d, %r14d
	leaq	L_.str.4(%rip), %rsi
LBB0_16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
LBB0_17:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%r12), %edi
	callq	_wpa_printf
	jmp	LBB0_18
LBB0_11:
	movl	$-1, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_18:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wolfSSL_CTX_set_default_passwd_cb
	movq	%r13, %rdi
	callq	_os_free
LBB0_19:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	$-1, %r14d
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_tls_passwd_cb,8,3              ## @tls_passwd_cb
	.comm	_SSL_FILETYPE_ASN1,4,2          ## @SSL_FILETYPE_ASN1
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: use private DER blob failed"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"SSL: use private key blob OK"

	.comm	_SSL_FILETYPE_PEM,4,2           ## @SSL_FILETYPE_PEM
L_.str.2:                               ## @.str.2
	.asciz	"SSL: use private key PEM file failed"

L_.str.3:                               ## @.str.3
	.asciz	"SSL: use private key DER file failed"

L_.str.4:                               ## @.str.4
	.asciz	"SSL: use private key file OK"

	.no_dead_strip	_tls_connection_private_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_connection_private_key
_tls_connection_private_key:            ; @tls_connection_private_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x5
	mov	x24, x4
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	cbnz	x2, LBB0_3
; %bb.1:
	cbnz	x24, LBB0_3
; %bb.2:
	mov	w21, #0
	b	LBB0_19
LBB0_3:
	cbz	x3, LBB0_6
; %bb.4:
	mov	x0, x3
	bl	_os_strdup
	mov	x20, x0
	cbnz	x0, LBB0_7
; %bb.5:
	mov	w21, #-1
	b	LBB0_19
LBB0_6:
	mov	x20, #0
LBB0_7:
Lloh0:
	adrp	x8, _tls_passwd_cb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tls_passwd_cb@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_wolfSSL_CTX_set_default_passwd_cb
	mov	x0, x19
	mov	x1, x20
	bl	_wolfSSL_CTX_set_default_passwd_cb_userdata
	cbz	x24, LBB0_11
; %bb.8:
	ldr	w0, [x22]
Lloh3:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, x24
	mov	x2, x23
	bl	_wolfSSL_use_PrivateKey_buffer
	tbnz	x0, #63, LBB0_10
; %bb.9:
	mov	w21, #0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_10:
Lloh8:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_11:
	cbz	x21, LBB0_17
; %bb.12:
	ldr	w0, [x22]
Lloh13:
	adrp	x8, _SSL_FILETYPE_PEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_FILETYPE_PEM@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_wolfSSL_use_PrivateKey_file
	tbz	x0, #63, LBB0_14
; %bb.13:
Lloh16:
	adrp	x23, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x23, [x23, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x22]
Lloh20:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_wolfSSL_use_PrivateKey_file
	tbnz	x0, #63, LBB0_20
LBB0_14:
	mov	w21, #0
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_15:
Lloh25:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x23]
	bl	_wpa_printf
	b	LBB0_18
LBB0_17:
	mov	w21, #-1
LBB0_18:
	mov	x0, x19
	mov	x1, #0
	bl	_wolfSSL_CTX_set_default_passwd_cb
	mov	x0, x20
	bl	_os_free
LBB0_19:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	w21, #-1
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_tls_passwd_cb,8,3              ; @tls_passwd_cb
	.comm	_SSL_FILETYPE_ASN1,4,2          ; @SSL_FILETYPE_ASN1
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: use private DER blob failed"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"SSL: use private key blob OK"

	.comm	_SSL_FILETYPE_PEM,4,2           ; @SSL_FILETYPE_PEM
l_.str.2:                               ; @.str.2
	.asciz	"SSL: use private key PEM file failed"

l_.str.3:                               ; @.str.3
	.asciz	"SSL: use private key DER file failed"

l_.str.4:                               ; @.str.4
	.asciz	"SSL: use private key file OK"

	.no_dead_strip	_tls_connection_private_key
.subsections_via_symbols
