	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_connection_client_cert
_tls_connection_client_cert:            ## @tls_connection_client_cert
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_10
LBB0_2:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movl	%eax, %ecx
	callq	_wolfSSL_use_certificate_chain_buffer_format
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	cmovsq	_MSG_INFO@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmovsq	%rax, %rsi
	sarq	$63, %rbx
	jmp	LBB0_9
LBB0_4:
	testq	%r14, %r14
	je	LBB0_10
## %bb.5:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_wolfSSL_use_certificate_chain_file
	testq	%rax, %rax
	jns	LBB0_8
## %bb.6:
	movq	_MSG_INFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movl	(%r15), %edi
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_wolfSSL_use_certificate_chain_file_format
	testq	%rax, %rax
	js	LBB0_7
LBB0_8:
	xorl	%ebx, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
LBB0_9:
	movl	(%r12), %edi
	callq	_wpa_printf
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$-1, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.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 client cert DER blob failed"

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

L_.str.2:                               ## @.str.2
	.asciz	"SSL: use client cert PEM file failed"

L_.str.3:                               ## @.str.3
	.asciz	"SSL: use client cert DER file failed"

L_.str.4:                               ## @.str.4
	.asciz	"SSL: use client cert file OK"

	.no_dead_strip	_tls_connection_client_cert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_connection_client_cert
_tls_connection_client_cert:            ; @tls_connection_client_cert
	.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	x19, x1
	mov	x20, x0
	cbnz	x1, LBB0_3
; %bb.1:
	cbnz	x2, LBB0_3
; %bb.2:
	mov	w19, #0
	b	LBB0_10
LBB0_3:
	cbz	x2, LBB0_5
; %bb.4:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x1, x2
	mov	x2, x3
	mov	x3, x8
	bl	_wolfSSL_use_certificate_chain_buffer_format
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
	cmp	x0, #0
	csel	x21, x9, x8, lt
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh9:
	adrp	x9, l_.str@PAGE
Lloh10:
	add	x9, x9, l_.str@PAGEOFF
	csel	x1, x9, x8, lt
	asr	x19, x0, #63
	b	LBB0_9
LBB0_5:
	cbz	x19, LBB0_10
; %bb.6:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_wolfSSL_use_certificate_chain_file
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh11:
	adrp	x21, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x21, [x21, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20]
Lloh15:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_wolfSSL_use_certificate_chain_file_format
	tbnz	x0, #63, LBB0_11
LBB0_8:
	mov	w19, #0
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh20:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh21:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x21]
	bl	_wpa_printf
LBB0_10:
	mov	x0, x19
	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
LBB0_11:
	mov	w19, #-1
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.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 client cert DER blob failed"

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

l_.str.2:                               ; @.str.2
	.asciz	"SSL: use client cert PEM file failed"

l_.str.3:                               ; @.str.3
	.asciz	"SSL: use client cert DER file failed"

l_.str.4:                               ; @.str.4
	.asciz	"SSL: use client cert file OK"

	.no_dead_strip	_tls_connection_client_cert
.subsections_via_symbols
