	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pl08x_get_bytes_for_lli
_pl08x_get_bytes_for_lli:               ## @pl08x_get_bytes_for_lli
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	testl	%edx, %edx
	movq	_PL080_CONTROL_SWIDTH_MASK@GOTPCREL(%rip), %rcx
	cmoveq	_PL080_CONTROL_DWIDTH_MASK@GOTPCREL(%rip), %rcx
	movq	_FTDMAC020_LLI_SRC_WIDTH_MSK@GOTPCREL(%rip), %rdx
	cmoveq	_FTDMAC020_LLI_DST_WIDTH_MSK@GOTPCREL(%rip), %rdx
	movq	_FTDMAC020_LLI_SRC_WIDTH_SHIFT@GOTPCREL(%rip), %rdi
	cmoveq	_FTDMAC020_LLI_DST_WIDTH_SHIFT@GOTPCREL(%rip), %rdi
	movq	_PL080_CONTROL_SWIDTH_SHIFT@GOTPCREL(%rip), %rbx
	cmoveq	_PL080_CONTROL_DWIDTH_SHIFT@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rax)
	cmoveq	%rcx, %rdx
	cmovneq	%rdi, %rbx
	andl	(%rdx), %esi
	movb	(%rbx), %cl
	sarl	%cl, %esi
	addl	$-128, %esi
	cmpl	$3, %esi
	jae	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.pl08x_get_bytes_for_lli(%rip), %rcx
	movl	(%rcx,%rax,4), %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BUG
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTDMAC020_LLI_SRC_WIDTH_MSK,4,2 ## @FTDMAC020_LLI_SRC_WIDTH_MSK
	.comm	_FTDMAC020_LLI_SRC_WIDTH_SHIFT,4,2 ## @FTDMAC020_LLI_SRC_WIDTH_SHIFT
	.comm	_FTDMAC020_LLI_DST_WIDTH_MSK,4,2 ## @FTDMAC020_LLI_DST_WIDTH_MSK
	.comm	_FTDMAC020_LLI_DST_WIDTH_SHIFT,4,2 ## @FTDMAC020_LLI_DST_WIDTH_SHIFT
	.comm	_PL080_CONTROL_SWIDTH_MASK,4,2  ## @PL080_CONTROL_SWIDTH_MASK
	.comm	_PL080_CONTROL_SWIDTH_SHIFT,4,2 ## @PL080_CONTROL_SWIDTH_SHIFT
	.comm	_PL080_CONTROL_DWIDTH_MASK,4,2  ## @PL080_CONTROL_DWIDTH_MASK
	.comm	_PL080_CONTROL_DWIDTH_SHIFT,4,2 ## @PL080_CONTROL_DWIDTH_SHIFT
	.no_dead_strip	_pl08x_get_bytes_for_lli
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.pl08x_get_bytes_for_lli
l_switch.table.pl08x_get_bytes_for_lli:
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pl08x_get_bytes_for_lli
_pl08x_get_bytes_for_lli:               ; @pl08x_get_bytes_for_lli
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PL080_CONTROL_DWIDTH_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PL080_CONTROL_DWIDTH_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x10, _PL080_CONTROL_SWIDTH_MASK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PL080_CONTROL_SWIDTH_MASK@GOTPAGEOFF]
	cmp	w2, #0
	csel	x9, x9, x10, eq
Lloh4:
	adrp	x10, _FTDMAC020_LLI_DST_WIDTH_MSK@GOTPAGE
Lloh5:
	ldr	x10, [x10, _FTDMAC020_LLI_DST_WIDTH_MSK@GOTPAGEOFF]
Lloh6:
	adrp	x11, _FTDMAC020_LLI_SRC_WIDTH_MSK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FTDMAC020_LLI_SRC_WIDTH_MSK@GOTPAGEOFF]
Lloh8:
	adrp	x12, _PL080_CONTROL_DWIDTH_SHIFT@GOTPAGE
Lloh9:
	ldr	x12, [x12, _PL080_CONTROL_DWIDTH_SHIFT@GOTPAGEOFF]
	csel	x10, x10, x11, eq
Lloh10:
	adrp	x11, _PL080_CONTROL_SWIDTH_SHIFT@GOTPAGE
Lloh11:
	ldr	x11, [x11, _PL080_CONTROL_SWIDTH_SHIFT@GOTPAGEOFF]
	csel	x11, x12, x11, eq
Lloh12:
	adrp	x12, _FTDMAC020_LLI_DST_WIDTH_SHIFT@GOTPAGE
Lloh13:
	ldr	x12, [x12, _FTDMAC020_LLI_DST_WIDTH_SHIFT@GOTPAGEOFF]
Lloh14:
	adrp	x13, _FTDMAC020_LLI_SRC_WIDTH_SHIFT@GOTPAGE
Lloh15:
	ldr	x13, [x13, _FTDMAC020_LLI_SRC_WIDTH_SHIFT@GOTPAGEOFF]
	csel	x12, x12, x13, eq
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	and	w8, w8, w1
	csel	x9, x11, x12, eq
	ldr	w9, [x9]
	asr	w8, w8, w9
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
Lloh16:
	adrp	x9, l_switch.table.pl08x_get_bytes_for_lli@PAGE
Lloh17:
	add	x9, x9, l_switch.table.pl08x_get_bytes_for_lli@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_BUG
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FTDMAC020_LLI_SRC_WIDTH_MSK,4,2 ; @FTDMAC020_LLI_SRC_WIDTH_MSK
	.comm	_FTDMAC020_LLI_SRC_WIDTH_SHIFT,4,2 ; @FTDMAC020_LLI_SRC_WIDTH_SHIFT
	.comm	_FTDMAC020_LLI_DST_WIDTH_MSK,4,2 ; @FTDMAC020_LLI_DST_WIDTH_MSK
	.comm	_FTDMAC020_LLI_DST_WIDTH_SHIFT,4,2 ; @FTDMAC020_LLI_DST_WIDTH_SHIFT
	.comm	_PL080_CONTROL_SWIDTH_MASK,4,2  ; @PL080_CONTROL_SWIDTH_MASK
	.comm	_PL080_CONTROL_SWIDTH_SHIFT,4,2 ; @PL080_CONTROL_SWIDTH_SHIFT
	.comm	_PL080_CONTROL_DWIDTH_MASK,4,2  ; @PL080_CONTROL_DWIDTH_MASK
	.comm	_PL080_CONTROL_DWIDTH_SHIFT,4,2 ; @PL080_CONTROL_DWIDTH_SHIFT
	.no_dead_strip	_pl08x_get_bytes_for_lli
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.pl08x_get_bytes_for_lli
l_switch.table.pl08x_get_bytes_for_lli:
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.long	2                               ; 0x2

.subsections_via_symbols
