	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_ieq_check_mpacrc         ## -- Begin function i40iw_ieq_check_mpacrc
	.p2align	4, 0x90
_i40iw_ieq_check_mpacrc:                ## @i40iw_ieq_check_mpacrc
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	callq	_crypto_shash_init
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_crypto_shash_update
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpq	%r14, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_i40iw_pr_err
	movq	_I40IW_ERR_MPA_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_crypto_shash_final
	movq	-40(%rbp), %rax
	cmpq	%r14, %rax
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mpa crc check fail\n"

	.comm	_I40IW_ERR_MPA_CRC,4,2          ## @I40IW_ERR_MPA_CRC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_ieq_check_mpacrc         ; -- Begin function i40iw_ieq_check_mpacrc
	.p2align	2
_i40iw_ieq_check_mpacrc:                ; @i40iw_ieq_check_mpacrc
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	bl	_crypto_shash_init
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_crypto_shash_update
	mov	x8, #0
	cbz	w0, LBB0_3
; %bb.1:
	cmp	x8, x19
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	add	x1, sp, #8
	mov	x0, x20
	bl	_crypto_shash_final
	ldr	x8, [sp, #8]
	cmp	x8, x19
	b.eq	LBB0_2
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_i40iw_pr_err
Lloh2:
	adrp	x8, _I40IW_ERR_MPA_CRC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40IW_ERR_MPA_CRC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mpa crc check fail\n"

	.comm	_I40IW_ERR_MPA_CRC,4,2          ; @I40IW_ERR_MPA_CRC
.subsections_via_symbols
