	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ff_rdt_calc_response_and_checksum
LCPI0_0:
	.byte	5                               ## 0x5
	.byte	24                              ## 0x18
	.byte	116                             ## 0x74
	.byte	208                             ## 0xd0
	.byte	13                              ## 0xd
	.byte	9                               ## 0x9
	.byte	2                               ## 0x2
	.byte	83                              ## 0x53
	.byte	192                             ## 0xc0
	.byte	1                               ## 0x1
	.byte	5                               ## 0x5
	.byte	5                               ## 0x5
	.byte	103                             ## 0x67
	.byte	3                               ## 0x3
	.byte	25                              ## 0x19
	.byte	112                             ## 0x70
LCPI0_1:
	.byte	8                               ## 0x8
	.byte	39                              ## 0x27
	.byte	102                             ## 0x66
	.byte	16                              ## 0x10
	.byte	16                              ## 0x10
	.byte	114                             ## 0x72
	.byte	8                               ## 0x8
	.byte	9                               ## 0x9
	.byte	99                              ## 0x63
	.byte	17                              ## 0x11
	.byte	3                               ## 0x3
	.byte	113                             ## 0x71
	.byte	8                               ## 0x8
	.byte	8                               ## 0x8
	.byte	112                             ## 0x70
	.byte	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_rdt_calc_response_and_checksum
	.p2align	4, 0x90
_ff_rdt_calc_response_and_checksum:     ## @ff_rdt_calc_response_and_checksum
	.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	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	%rdx, %rdi
	callq	_strlen
	movaps	l___const.ff_rdt_calc_response_and_checksum.buf+48(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.ff_rdt_calc_response_and_checksum.buf+32(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.ff_rdt_calc_response_and_checksum.buf+16(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.ff_rdt_calc_response_and_checksum.buf(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	cmpl	$56, %eax
	movl	$56, %ecx
	cmovll	%eax, %ecx
	cmpl	$40, %eax
	movl	$32, %edx
	cmovnel	%ecx, %edx
	leaq	-104(%rbp), %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movups	-104(%rbp), %xmm0
	xorps	LCPI0_0(%rip), %xmm0
	movups	-88(%rbp), %xmm1
	movups	%xmm0, -104(%rbp)
	xorps	LCPI0_1(%rip), %xmm1
	movups	%xmm1, -88(%rbp)
	xorb	$16, -72(%rbp)
	xorb	$87, -71(%rbp)
	xorb	$5, -70(%rbp)
	xorb	$24, -69(%rbp)
	xorb	$84, -68(%rbp)
	leaq	-48(%rbp), %r15
	leaq	-112(%rbp), %rsi
	movq	%r15, %rdi
	movl	$64, %edx
	callq	_av_md5_sum
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	movl	$1, %ecx
	callq	_ff_data_to_hex
	leaq	32(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movb	(%rbx), %al
	movb	%al, (%r14)
	movb	4(%rbx), %al
	movb	%al, 1(%r14)
	movb	8(%rbx), %al
	movb	%al, 2(%r14)
	movb	12(%rbx), %al
	movb	%al, 3(%r14)
	movb	16(%rbx), %al
	movb	%al, 4(%r14)
	movb	20(%rbx), %al
	movb	%al, 5(%r14)
	movb	24(%rbx), %al
	movb	%al, 6(%r14)
	movb	28(%rbx), %al
	movb	%al, 7(%r14)
	movb	$0, 8(%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.ff_rdt_calc_response_and_checksum.buf
l___const.ff_rdt_calc_response_and_checksum.buf:
	.ascii	"\241\351\024\235\016k;Y"
	.space	56

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"01d0a8e3"

	.comm	_XOR_TABLE_SIZE,4,2             ## @XOR_TABLE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ff_rdt_calc_response_and_checksum
lCPI0_0:
	.byte	5                               ; 0x5
	.byte	24                              ; 0x18
	.byte	116                             ; 0x74
	.byte	208                             ; 0xd0
	.byte	13                              ; 0xd
	.byte	9                               ; 0x9
	.byte	2                               ; 0x2
	.byte	83                              ; 0x53
	.byte	192                             ; 0xc0
	.byte	1                               ; 0x1
	.byte	5                               ; 0x5
	.byte	5                               ; 0x5
	.byte	103                             ; 0x67
	.byte	3                               ; 0x3
	.byte	25                              ; 0x19
	.byte	112                             ; 0x70
lCPI0_1:
	.byte	8                               ; 0x8
	.byte	39                              ; 0x27
	.byte	102                             ; 0x66
	.byte	16                              ; 0x10
	.byte	16                              ; 0x10
	.byte	114                             ; 0x72
	.byte	8                               ; 0x8
	.byte	9                               ; 0x9
	.byte	99                              ; 0x63
	.byte	17                              ; 0x11
	.byte	3                               ; 0x3
	.byte	113                             ; 0x71
	.byte	8                               ; 0x8
	.byte	8                               ; 0x8
	.byte	112                             ; 0x70
	.byte	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_rdt_calc_response_and_checksum
	.p2align	2
_ff_rdt_calc_response_and_checksum:     ; @ff_rdt_calc_response_and_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	x0, x2
	bl	_strlen
Lloh3:
	adrp	x8, l___const.ff_rdt_calc_response_and_checksum.buf@PAGE
Lloh4:
	add	x8, x8, l___const.ff_rdt_calc_response_and_checksum.buf@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #32]
	mov	w8, #56
	cmp	w0, #56
	csel	w8, w0, w8, lt
	mov	w9, #32
	cmp	w0, #40
	csel	w2, w9, w8, eq
	mov	x8, sp
	orr	x0, x8, #0x8
	mov	x1, x21
	bl	_memcpy
	ldur	q0, [sp, #8]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	eor.16b	v0, v0, v1
	stur	q0, [sp, #8]
	ldur	q0, [sp, #24]
Lloh7:
	adrp	x8, lCPI0_1@PAGE
Lloh8:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	eor.16b	v0, v0, v1
	stur	q0, [sp, #24]
	ldrb	w8, [sp, #40]
	eor	w8, w8, #0x10
	strb	w8, [sp, #40]
	ldrb	w8, [sp, #41]
	mov	w9, #87
	eor	w8, w8, w9
	strb	w8, [sp, #41]
	ldrb	w8, [sp, #42]
	mov	w9, #5
	eor	w8, w8, w9
	strb	w8, [sp, #42]
	ldrb	w8, [sp, #43]
	eor	w8, w8, #0x18
	strb	w8, [sp, #43]
	ldrb	w8, [sp, #44]
	mov	w9, #84
	eor	w8, w8, w9
	strb	w8, [sp, #44]
	sub	x0, x29, #56
	mov	x1, sp
	mov	w2, #64
	bl	_av_md5_sum
	sub	x1, x29, #56
	mov	x0, x20
	mov	w2, #16
	mov	w3, #1
	bl	_ff_data_to_hex
	add	x0, x20, #32
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldrb	w8, [x20]
	strb	w8, [x19]
	ldrb	w8, [x20, #4]
	strb	w8, [x19, #1]
	ldrb	w8, [x20, #8]
	strb	w8, [x19, #2]
	ldrb	w8, [x20, #12]
	strb	w8, [x19, #3]
	ldrb	w8, [x20, #16]
	strb	w8, [x19, #4]
	ldrb	w8, [x20, #20]
	strb	w8, [x19, #5]
	ldrb	w8, [x20, #24]
	strb	w8, [x19, #6]
	ldrb	w8, [x20, #28]
	strb	w8, [x19, #7]
	strb	wzr, [x19, #8]
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.ff_rdt_calc_response_and_checksum.buf: ; @__const.ff_rdt_calc_response_and_checksum.buf
	.ascii	"\241\351\024\235\016k;Y"
	.space	56

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"01d0a8e3"

	.comm	_XOR_TABLE_SIZE,4,2             ; @XOR_TABLE_SIZE
.subsections_via_symbols
