	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_global_private_key
_tls_global_private_key:                ## @tls_global_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	xorl	%r14d, %r14d
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.8:
	movq	%rdx, %rdi
	callq	_os_strdup
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.9:
	movl	$-1, %r14d
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_tls_passwd_cb@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_wolfSSL_CTX_set_default_passwd_cb
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_wolfSSL_CTX_set_default_passwd_cb_userdata
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_wolfSSL_CTX_use_PrivateKey_file
	cmpl	$1, %eax
	je	LBB0_7
## %bb.5:
	movq	_SSL_FILETYPE_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_wolfSSL_CTX_use_PrivateKey_file
	cmpl	$1, %eax
	je	LBB0_7
## %bb.6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %r14d
LBB0_7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	%r15, %rdi
	callq	_os_free
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wolfSSL_CTX_set_default_passwd_cb
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tls_passwd_cb,8,3              ## @tls_passwd_cb
	.comm	_SSL_FILETYPE_ASN1,4,2          ## @SSL_FILETYPE_ASN1
	.comm	_SSL_FILETYPE_PEM,4,2           ## @SSL_FILETYPE_PEM
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to load private key"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"SSL: Loaded global private key"

	.no_dead_strip	_tls_global_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_global_private_key
_tls_global_private_key:                ; @tls_global_private_key
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	cbz	x1, LBB0_10
; %bb.1:
	mov	x19, x0
	cbz	x2, LBB0_4
; %bb.2:
	mov	x0, x2
	bl	_os_strdup
	mov	x20, x0
	cbnz	x0, LBB0_5
; %bb.3:
	mov	w21, #-1
	b	LBB0_10
LBB0_4:
	mov	x20, #0
LBB0_5:
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
Lloh3:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_wolfSSL_CTX_use_PrivateKey_file
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _SSL_FILETYPE_PEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_FILETYPE_PEM@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_wolfSSL_CTX_use_PrivateKey_file
	cmp	w0, #1
	b.ne	LBB0_8
LBB0_7:
	mov	w21, #0
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w21, #-1
LBB0_9:
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_os_free
	mov	x0, x19
	mov	x1, #0
	bl	_wolfSSL_CTX_set_default_passwd_cb
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_tls_passwd_cb,8,3              ; @tls_passwd_cb
	.comm	_SSL_FILETYPE_ASN1,4,2          ; @SSL_FILETYPE_ASN1
	.comm	_SSL_FILETYPE_PEM,4,2           ; @SSL_FILETYPE_PEM
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to load private key"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"SSL: Loaded global private key"

	.no_dead_strip	_tls_global_private_key
.subsections_via_symbols
