	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_connection_dh
_tls_connection_dh:                     ## @tls_connection_dh
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_2:
	movl	(%r15), %edi
	callq	_wolfSSL_set_accept_state
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_wolfSSL_SetTmpDH_buffer
	movq	%rax, %r14
	testq	%rax, %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	cmovsq	_MSG_INFO@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmovsq	%rax, %rsi
	sarq	$63, %r14
	jmp	LBB0_9
LBB0_4:
	testq	%r13, %r13
	je	LBB0_10
## %bb.5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r15), %edi
	movq	_SSL_FILETYPE_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_wolfSSL_SetTmpDH_file
	testq	%rax, %rax
	jns	LBB0_8
## %bb.6:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r15), %edi
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_wolfSSL_SetTmpDH_file
	testq	%rax, %rax
	js	LBB0_7
LBB0_8:
	leaq	L_.str.5(%rip), %rsi
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
LBB0_9:
	movl	(%rbx), %edi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$-1, %r14d
	leaq	L_.str.4(%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 DH DER blob failed"

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

L_.str.2:                               ## @.str.2
	.asciz	"SSL: use DH PEM file: %s"

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

L_.str.4:                               ## @.str.4
	.asciz	"SSL: use DH DER file failed"

L_.str.5:                               ## @.str.5
	.asciz	"SSL: use DH file OK"

	.no_dead_strip	_tls_connection_dh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_connection_dh
_tls_connection_dh:                     ; @tls_connection_dh
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	cbnz	x1, LBB0_3
; %bb.1:
	cbnz	x22, LBB0_3
; %bb.2:
	mov	w19, #0
	b	LBB0_10
LBB0_3:
	ldr	w0, [x20]
	bl	_wolfSSL_set_accept_state
	cbz	x22, LBB0_5
; %bb.4:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x22
	mov	x2, x21
	bl	_wolfSSL_SetTmpDH_buffer
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:
Lloh11:
	adrp	x21, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x21, [x21, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x21]
	str	x19, [sp]
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_PEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_FILETYPE_PEM@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_wolfSSL_SetTmpDH_file
	tbz	x0, #63, LBB0_8
; %bb.7:
	ldr	w0, [x21]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20]
Lloh20:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_wolfSSL_SetTmpDH_file
	tbnz	x0, #63, LBB0_11
LBB0_8:
	mov	w19, #0
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
Lloh25:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x21]
	bl	_wpa_printf
LBB0_10:
	mov	x0, x19
	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_11:
	mov	w19, #-1
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@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 AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.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 DH DER blob failed"

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

l_.str.2:                               ; @.str.2
	.asciz	"SSL: use DH PEM file: %s"

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

l_.str.4:                               ; @.str.4
	.asciz	"SSL: use DH DER file failed"

l_.str.5:                               ; @.str.5
	.asciz	"SSL: use DH file OK"

	.no_dead_strip	_tls_connection_dh
.subsections_via_symbols
