	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_msg_cb
_tls_msg_cb:                            ## @tls_msg_cb
	.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, %r14
	movq	%rcx, %r12
	movl	%edx, %ebx
	movl	%esi, %edx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	cmpl	$2, %edi
	jne	LBB0_1
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_hexdump_key                ## TAILCALL
LBB0_1:
	movq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%edi, %edi
	leaq	L_.str.4(%rip), %rax
	movq	%r14, %r15
	leaq	L_.str.3(%rip), %r14
	cmoveq	%rax, %r14
	movl	%ebx, %edi
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	callq	_openssl_content_type
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_openssl_handshake_type
	movl	%eax, (%rsp)
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edi
	movq	%r14, %rdx
	movq	%r15, %r14
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_wpa_hexdump_key
	cmpl	$24, %ebx
	jne	LBB0_6
## %bb.2:
	cmpq	$3, %r14
	jb	LBB0_6
## %bb.3:
	cmpl	$1, (%r12)
	jne	LBB0_6
## %bb.4:
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_WPA_GET_BE16
	addq	$3, %rax
	cmpq	%r14, %rax
	jbe	LBB0_6
## %bb.5:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenSSL: session ver=0x%x content_type=%d"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"OpenSSL: Data"

L_.str.2:                               ## @.str.2
	.asciz	"OpenSSL: %s ver=0x%x content_type=%d (%s/%s)"

L_.str.3:                               ## @.str.3
	.asciz	"TX"

L_.str.4:                               ## @.str.4
	.asciz	"RX"

L_.str.5:                               ## @.str.5
	.asciz	"OpenSSL: Message"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"OpenSSL: Heartbeat attack detected"

	.no_dead_strip	_tls_msg_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_msg_cb
_tls_msg_cb:                            ; @tls_msg_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	stp	x24, x22, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_wpa_printf
Lloh5:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x3, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_wpa_hexdump_key
LBB0_2:
	mov	x20, x6
Lloh10:
	adrp	x8, l_.str.3@PAGE
Lloh11:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh12:
	adrp	x9, l_.str.4@PAGE
Lloh13:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w0, #0
	csel	x26, x9, x8, eq
	mov	x0, x22
	bl	_openssl_content_type
	mov	x25, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_openssl_handshake_type
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #24]
	stp	x24, x22, [sp, #8]
	str	x26, [sp]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_wpa_printf
Lloh16:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x21
	mov	x3, x19
	bl	_wpa_hexdump_key
	cmp	w22, #24
	b.ne	LBB0_7
; %bb.3:
	cmp	x19, #3
	b.lo	LBB0_7
; %bb.4:
	ldr	w8, [x21]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.5:
	add	x0, x21, #4
	bl	_WPA_GET_BE16
	add	x8, x0, #3
	cmp	x8, x19
	b.ls	LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	mov	w8, #1
	str	w8, [x20]
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenSSL: session ver=0x%x content_type=%d"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"OpenSSL: Data"

l_.str.2:                               ; @.str.2
	.asciz	"OpenSSL: %s ver=0x%x content_type=%d (%s/%s)"

l_.str.3:                               ; @.str.3
	.asciz	"TX"

l_.str.4:                               ; @.str.4
	.asciz	"RX"

l_.str.5:                               ; @.str.5
	.asciz	"OpenSSL: Message"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"OpenSSL: Heartbeat attack detected"

	.no_dead_strip	_tls_msg_cb
.subsections_via_symbols
