	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipack_parse_id1
_ipack_parse_id1:                       ## @ipack_parse_id1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movb	4(%r14), %al
	movb	%al, 8(%rdi)
	movb	5(%r14), %al
	movb	%al, 9(%rdi)
	movl	$1, 12(%rdi)
	xorl	%eax, %eax
	cmpb	$72, 7(%r14)
	sete	%al
	movl	%eax, 16(%rdi)
	callq	_ipack_calc_crc1
	xorl	%ecx, %ecx
	cmpb	11(%r14), %al
	sete	%cl
	movl	%ecx, 20(%rbx)
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	addq	$24, %rbx
	movsbl	11(%r14), %edx
	movsbl	%al, %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ID CRC invalid found 0x%x, expected 0x%x.\n"

	.no_dead_strip	_ipack_parse_id1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipack_parse_id1
_ipack_parse_id1:                       ; @ipack_parse_id1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	ldrb	w8, [x20, #4]
	strb	w8, [x0, #8]
	ldrb	w8, [x20, #5]
	strb	w8, [x0, #9]
	mov	w8, #1
	str	w8, [x0, #12]
	ldrb	w8, [x20, #7]
	cmp	w8, #72
	cset	w8, eq
	str	w8, [x0, #16]
	bl	_ipack_calc_crc1
	and	w8, w0, #0xff
	ldrb	w9, [x20, #11]
	cmp	w8, w9
	cset	w8, eq
	str	w8, [x19, #20]
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x3, x0
	add	x0, x19, #24
	ldrsb	w2, [x20, #11]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ID CRC invalid found 0x%x, expected 0x%x.\n"

	.no_dead_strip	_ipack_parse_id1
.subsections_via_symbols
