	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_cftable_entry
_parse_cftable_entry:                   ## @parse_cftable_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movslq	8(%rdi), %rcx
	movl	(%rax), %edx
	andl	$63, %edx
	movl	%edx, (%rsi)
	movl	$0, 4(%rsi)
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$0, %edx
	testb	$64, %dil
	je	LBB0_2
## %bb.1:
	movq	_CISTPL_CFTABLE_DEFAULT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%r14)
	movl	(%rax), %edi
LBB0_2:
	movq	%rax, %rbx
	testb	$-128, %dil
	je	LBB0_14
## %bb.3:
	cmpl	$1, %ecx
	je	LBB0_4
## %bb.5:
	leaq	4(%rax), %rbx
	movl	(%rbx), %esi
	testb	$16, %sil
	jne	LBB0_6
## %bb.7:
	testb	$32, %sil
	jne	LBB0_8
LBB0_9:
	testb	$64, %sil
	jne	LBB0_10
LBB0_11:
	testb	$-128, %sil
	je	LBB0_13
LBB0_12:
	movq	_CISTPL_CFTABLE_MWAIT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%r14)
	movl	(%rbx), %esi
LBB0_13:
	andl	$15, %esi
LBB0_14:
	leaq	(%rax,%rcx,4), %r15
	movl	%esi, 8(%r14)
	leaq	4(%rbx), %rax
	cmpq	%r15, %rax
	je	LBB0_4
## %bb.15:
	movl	4(%rbx), %r12d
	addq	$8, %rbx
	movl	%r12d, %r13d
	andl	$3, %r13d
	je	LBB0_21
## %bb.16:
	leaq	88(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_power
	testq	%rax, %rax
	je	LBB0_4
## %bb.17:
	movq	%rax, %rbx
	cmpl	$2, %r13d
	jb	LBB0_22
## %bb.18:
	leaq	80(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_power
	testq	%rax, %rax
	je	LBB0_4
## %bb.19:
	movq	%rax, %rbx
	cmpl	$3, %r13d
	jne	LBB0_23
## %bb.20:
	leaq	72(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_power
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_24
	jmp	LBB0_4
LBB0_21:
	movq	$0, 88(%r14)
LBB0_22:
	movq	$0, 80(%r14)
LBB0_23:
	movq	$0, 72(%r14)
LBB0_24:
	testb	$4, %r12b
	jne	LBB0_25
## %bb.26:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r14)
	movq	$0, 64(%r14)
	jmp	LBB0_27
LBB0_25:
	leaq	48(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_timing
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_27:
	testb	$8, %r12b
	jne	LBB0_28
## %bb.29:
	movq	$0, 40(%r14)
	jmp	LBB0_30
LBB0_28:
	leaq	40(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_io
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_30:
	testb	$16, %r12b
	jne	LBB0_31
## %bb.32:
	movq	$0, 32(%r14)
	jmp	LBB0_33
LBB0_6:
	movq	_CISTPL_CFTABLE_BVDS@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%r14)
	movl	(%rbx), %esi
	testb	$32, %sil
	je	LBB0_9
LBB0_8:
	movq	_CISTPL_CFTABLE_WP@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%r14)
	movl	(%rbx), %esi
	testb	$64, %sil
	je	LBB0_11
LBB0_10:
	movq	_CISTPL_CFTABLE_RDYBSY@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 4(%r14)
	movl	(%rbx), %esi
	testb	$-128, %sil
	jne	LBB0_12
	jmp	LBB0_13
LBB0_31:
	leaq	32(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_irq
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_33:
	movl	%r12d, %eax
	shrl	$5, %eax
	andl	$3, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_38:
	movl	$0, 16(%r14)
	jmp	LBB0_39
LBB0_34:
	movl	$1, 16(%r14)
	movq	%rbx, %rdi
	callq	_get_unaligned_le16
	shll	$8, %eax
	movq	24(%r14), %rcx
	movl	%eax, (%rcx)
	movq	$0, 4(%rcx)
	addq	$8, %rbx
	jmp	LBB0_35
LBB0_36:
	movl	$1, 16(%r14)
	movq	%rbx, %rdi
	callq	_get_unaligned_le16
	shll	$8, %eax
	movq	24(%r14), %rcx
	movl	%eax, (%rcx)
	leaq	8(%rbx), %rdi
	callq	_get_unaligned_le16
	shll	$8, %eax
	movq	24(%r14), %rcx
	movl	%eax, 4(%rcx)
	movl	$0, 8(%rcx)
	addq	$16, %rbx
LBB0_35:
	cmpq	%r15, %rbx
	jbe	LBB0_39
	jmp	LBB0_4
LBB0_37:
	leaq	16(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_mem
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_39:
	testb	$-128, %r12b
	je	LBB0_45
## %bb.40:
	cmpq	%r15, %rbx
	je	LBB0_4
## %bb.41:
	movl	(%rbx), %eax
	shll	$8, %eax
	orl	%eax, 4(%r14)
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	testb	$-128, (%rbx)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	addq	$4, %rbx
	cmpq	%r15, %rbx
	jne	LBB0_42
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_46:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	addq	$4, %rbx
LBB0_45:
	subq	%rbx, %r15
	shrq	$2, %r15
	movl	%r15d, 12(%r14)
	xorl	%eax, %eax
	jmp	LBB0_46
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
LJTI0_0:
	.long	L0_0_set_38
	.long	L0_0_set_34
	.long	L0_0_set_36
	.long	L0_0_set_37
	.end_data_region
                                        ## -- End function
	.comm	_CISTPL_CFTABLE_DEFAULT,4,2     ## @CISTPL_CFTABLE_DEFAULT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CISTPL_CFTABLE_BVDS,4,2        ## @CISTPL_CFTABLE_BVDS
	.comm	_CISTPL_CFTABLE_WP,4,2          ## @CISTPL_CFTABLE_WP
	.comm	_CISTPL_CFTABLE_RDYBSY,4,2      ## @CISTPL_CFTABLE_RDYBSY
	.comm	_CISTPL_CFTABLE_MWAIT,4,2       ## @CISTPL_CFTABLE_MWAIT
	.no_dead_strip	_parse_cftable_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_cftable_entry
_parse_cftable_entry:                   ; @parse_cftable_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	x8, [x0]
	ldrsw	x9, [x0, #8]
	ldr	w10, [x8]
	and	w10, w10, #0x3f
	stp	w10, wzr, [x1]
	ldr	w10, [x8]
	tbnz	w10, #6, LBB0_9
; %bb.1:
	mov	w11, #0
	tbz	w10, #7, LBB0_10
LBB0_2:
	cmp	w9, #1
	b.eq	LBB0_44
; %bb.3:
	add	x10, x8, #4
	ldr	w12, [x10]
	tbnz	w12, #4, LBB0_29
; %bb.4:
	tbnz	w12, #5, LBB0_30
LBB0_5:
	tbnz	w12, #6, LBB0_31
LBB0_6:
	tbz	w12, #7, LBB0_8
LBB0_7:
Lloh0:
	adrp	x12, _CISTPL_CFTABLE_MWAIT@GOTPAGE
Lloh1:
	ldr	x12, [x12, _CISTPL_CFTABLE_MWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	orr	w11, w11, w12
	str	w11, [x19, #4]
	ldr	w12, [x10]
LBB0_8:
	and	w11, w12, #0xf
	b	LBB0_11
LBB0_9:
Lloh3:
	adrp	x10, _CISTPL_CFTABLE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CISTPL_CFTABLE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x10]
	str	w11, [x19, #4]
	ldr	w10, [x8]
	tbnz	w10, #7, LBB0_2
LBB0_10:
	mov	w11, #0
	mov	x10, x8
LBB0_11:
	add	x20, x8, x9, lsl #2
	str	w11, [x19, #8]
	add	x8, x10, #4
	cmp	x8, x20
	b.eq	LBB0_44
; %bb.12:
	ldr	w22, [x10, #4]
	add	x21, x10, #8
	ands	w23, w22, #0x3
	b.eq	LBB0_18
; %bb.13:
	add	x2, x19, #88
	mov	x0, x21
	mov	x1, x20
	bl	_parse_power
	cbz	x0, LBB0_44
; %bb.14:
	mov	x21, x0
	cmp	w23, #2
	b.lo	LBB0_19
; %bb.15:
	add	x2, x19, #80
	mov	x0, x21
	mov	x1, x20
	bl	_parse_power
	cbz	x0, LBB0_44
; %bb.16:
	mov	x21, x0
	cmp	w23, #3
	b.ne	LBB0_20
; %bb.17:
	add	x2, x19, #72
	mov	x0, x21
	mov	x1, x20
	bl	_parse_power
	mov	x21, x0
	cbnz	x0, LBB0_21
	b	LBB0_44
LBB0_18:
	str	xzr, [x19, #88]
LBB0_19:
	str	xzr, [x19, #80]
LBB0_20:
	str	xzr, [x19, #72]
LBB0_21:
	tbnz	w22, #2, LBB0_23
; %bb.22:
	stp	xzr, xzr, [x19, #48]
	str	xzr, [x19, #64]
	b	LBB0_24
LBB0_23:
	add	x2, x19, #48
	mov	x0, x21
	mov	x1, x20
	bl	_parse_timing
	mov	x21, x0
	cbz	x0, LBB0_44
LBB0_24:
	tbnz	w22, #3, LBB0_26
; %bb.25:
	str	xzr, [x19, #40]
	b	LBB0_27
LBB0_26:
	add	x2, x19, #40
	mov	x0, x21
	mov	x1, x20
	bl	_parse_io
	mov	x21, x0
	cbz	x0, LBB0_44
LBB0_27:
	tbnz	w22, #4, LBB0_32
; %bb.28:
	str	xzr, [x19, #32]
	b	LBB0_33
LBB0_29:
Lloh6:
	adrp	x12, _CISTPL_CFTABLE_BVDS@GOTPAGE
Lloh7:
	ldr	x12, [x12, _CISTPL_CFTABLE_BVDS@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	orr	w11, w11, w12
	str	w11, [x19, #4]
	ldr	w12, [x10]
	tbz	w12, #5, LBB0_5
LBB0_30:
Lloh9:
	adrp	x12, _CISTPL_CFTABLE_WP@GOTPAGE
Lloh10:
	ldr	x12, [x12, _CISTPL_CFTABLE_WP@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	orr	w11, w11, w12
	str	w11, [x19, #4]
	ldr	w12, [x10]
	tbz	w12, #6, LBB0_6
LBB0_31:
Lloh12:
	adrp	x12, _CISTPL_CFTABLE_RDYBSY@GOTPAGE
Lloh13:
	ldr	x12, [x12, _CISTPL_CFTABLE_RDYBSY@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	orr	w11, w11, w12
	str	w11, [x19, #4]
	ldr	w12, [x10]
	tbnz	w12, #7, LBB0_7
	b	LBB0_8
LBB0_32:
	add	x2, x19, #32
	mov	x0, x21
	mov	x1, x20
	bl	_parse_irq
	mov	x21, x0
	cbz	x0, LBB0_44
LBB0_33:
	ubfx	w8, w22, #5, #2
Lloh15:
	adrp	x9, lJTI0_0@PAGE
Lloh16:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_34
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_34:
	str	wzr, [x19, #16]
	b	LBB0_39
LBB0_35:
	mov	w8, #1
	str	w8, [x19, #16]
	mov	x0, x21
	bl	_get_unaligned_le16
	lsl	w8, w0, #8
	ldr	x9, [x19, #24]
	stp	wzr, wzr, [x9, #4]
	str	w8, [x9]
	add	x21, x21, #8
	b	LBB0_37
LBB0_36:
	mov	w8, #1
	str	w8, [x19, #16]
	mov	x0, x21
	bl	_get_unaligned_le16
	lsl	w8, w0, #8
	ldr	x9, [x19, #24]
	str	w8, [x9]
	add	x0, x21, #8
	bl	_get_unaligned_le16
	lsl	w8, w0, #8
	ldr	x9, [x19, #24]
	stp	w8, wzr, [x9, #4]
	add	x21, x21, #16
LBB0_37:
	cmp	x21, x20
	b.ls	LBB0_39
	b	LBB0_44
LBB0_38:
	add	x2, x19, #16
	mov	x0, x21
	mov	x1, x20
	bl	_parse_mem
	mov	x21, x0
	cbz	x0, LBB0_44
LBB0_39:
	tbz	w22, #7, LBB0_47
; %bb.40:
	cmp	x21, x20
	b.eq	LBB0_44
; %bb.41:
	ldr	w8, [x21]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8, lsl #8
	str	w8, [x19, #4]
	mov	x8, x21
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #4
	tbz	w9, #7, LBB0_46
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	x21, x8
	cmp	x8, x20
	b.ne	LBB0_42
LBB0_44:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_45:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_46:
	add	x21, x21, #4
LBB0_47:
	mov	w0, #0
	sub	x8, x20, x21
	lsr	x8, x8, #2
	str	w8, [x19, #12]
	b	LBB0_45
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_34-LBB0_34)>>2
	.byte	(LBB0_35-LBB0_34)>>2
	.byte	(LBB0_36-LBB0_34)>>2
	.byte	(LBB0_38-LBB0_34)>>2
                                        ; -- End function
	.comm	_CISTPL_CFTABLE_DEFAULT,4,2     ; @CISTPL_CFTABLE_DEFAULT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CISTPL_CFTABLE_BVDS,4,2        ; @CISTPL_CFTABLE_BVDS
	.comm	_CISTPL_CFTABLE_WP,4,2          ; @CISTPL_CFTABLE_WP
	.comm	_CISTPL_CFTABLE_RDYBSY,4,2      ; @CISTPL_CFTABLE_RDYBSY
	.comm	_CISTPL_CFTABLE_MWAIT,4,2       ; @CISTPL_CFTABLE_MWAIT
	.no_dead_strip	_parse_cftable_entry
.subsections_via_symbols
