	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efuse_read_data_case1
_efuse_read_data_case1:                 ## @efuse_read_data_case1
	.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	%r9, %r15
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	%edx, -48(%rbp)
	movl	%edx, %r14d
	shrl	$4, %r14d
	andl	$15, %r14d
	andl	$15, %edx
	movl	%edx, %edi
	callq	_efuse_calculate_word_cnts
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%r13d, %r14d
	jne	LBB0_8
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_8
## %bb.2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	movl	$1, %r14d
	movl	$1, %r15d
	cmovgel	%eax, %r15d
	negq	%r15
	movl	$1, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rax
	incq	%rax
	incq	%r13
	cmpq	$1, %rax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rdx
	callq	_efuse_one_byte_read
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, -4(%rcx,%r13,4)
	cmpl	$255, %eax
	movl	$0, %eax
	cmovnel	%eax, %r14d
	jmp	LBB0_5
LBB0_6:
	testl	%r14d, %r14d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_7
LBB0_8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	orl	$1, %eax
	cltq
	addq	%rax, (%r12)
	movq	_PG_STATE_HEADER@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_PG_STATE_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_STATE_DATA,4,2              ## @PG_STATE_DATA
	.comm	_PG_STATE_HEADER,4,2            ## @PG_STATE_HEADER
	.no_dead_strip	_efuse_read_data_case1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efuse_read_data_case1
_efuse_read_data_case1:                 ; @efuse_read_data_case1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x5
	mov	x21, x4
	mov	x23, x3
	mov	x20, x1
	mov	x22, x0
	str	w2, [sp, #12]
	ubfx	w25, w2, #4, #4
	and	w0, w2, #0xf
	bl	_efuse_calculate_word_cnts
	lsl	w24, w0, #1
	cmp	w25, w23
	b.ne	LBB0_7
; %bb.1:
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
	cmp	w24, #1
	csinc	w25, w24, wzr, gt
	mov	w26, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	cmp	x25, x23
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x23, x8
	add	x1, x8, #1
	add	x2, sp, #12
	mov	x0, x22
	bl	_efuse_one_byte_read
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #12]
	str	w8, [x21, x23, lsl #2]
	cmp	w8, #255
	csel	w26, w26, wzr, eq
	b	LBB0_3
LBB0_6:
	cbz	w26, LBB0_9
LBB0_7:
	ldr	x8, [x20]
	orr	w9, w24, #0x1
	add	x8, x8, w9, sxtw
	str	x8, [x20]
Lloh0:
	adrp	x8, _PG_STATE_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PG_STATE_HEADER@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
Lloh2:
	adrp	x8, _PG_STATE_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PG_STATE_DATA@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_STATE_DATA,4,2              ; @PG_STATE_DATA
	.comm	_PG_STATE_HEADER,4,2            ; @PG_STATE_HEADER
	.no_dead_strip	_efuse_read_data_case1
.subsections_via_symbols
