	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_bytes_in_lli
_get_bytes_in_lli:                      ## @get_bytes_in_lli
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_PL080_LLI_CCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %edx
	movq	_FTDMAC020_LLI_TRANSFER_SIZE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	movq	_FTDMAC020_LLI_SRC_WIDTH_SHIFT@GOTPCREL(%rip), %rcx
	movq	_FTDMAC020_LLI_SRC_WIDTH_MSK@GOTPCREL(%rip), %rsi
	jmp	LBB0_6
LBB0_2:
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.3:
	movq	_PL080S_LLI_CCTL2@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PL080S_CONTROL_TRANSFER_SIZE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi,%rcx,4), %eax
	movq	_PL080_LLI_CCTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %edx
	jmp	LBB0_5
LBB0_4:
	movq	_PL080_LLI_CCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %edx
	movq	_PL080_CONTROL_TRANSFER_SIZE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
LBB0_5:
	movq	_PL080_CONTROL_SWIDTH_SHIFT@GOTPCREL(%rip), %rcx
	movq	_PL080_CONTROL_SWIDTH_MASK@GOTPCREL(%rip), %rsi
LBB0_6:
	andl	(%rsi), %edx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	cmpl	$129, %edx
	je	LBB0_9
## %bb.7:
	cmpl	$130, %edx
	jne	LBB0_10
## %bb.8:
	addl	%eax, %eax
	popq	%rbp
	retq
LBB0_9:
	shll	$2, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PL080_LLI_CCTL,8,3             ## @PL080_LLI_CCTL
	.comm	_FTDMAC020_LLI_TRANSFER_SIZE_MASK,4,2 ## @FTDMAC020_LLI_TRANSFER_SIZE_MASK
	.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	_PL080S_LLI_CCTL2,8,3           ## @PL080S_LLI_CCTL2
	.comm	_PL080S_CONTROL_TRANSFER_SIZE_MASK,4,2 ## @PL080S_CONTROL_TRANSFER_SIZE_MASK
	.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_TRANSFER_SIZE_MASK,4,2 ## @PL080_CONTROL_TRANSFER_SIZE_MASK
	.no_dead_strip	_get_bytes_in_lli
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_bytes_in_lli
_get_bytes_in_lli:                      ; @get_bytes_in_lli
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PL080_LLI_CCTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PL080_LLI_CCTL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x1, x8, lsl #2]
Lloh3:
	adrp	x8, _FTDMAC020_LLI_TRANSFER_SIZE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FTDMAC020_LLI_TRANSFER_SIZE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w9
Lloh6:
	adrp	x10, _FTDMAC020_LLI_SRC_WIDTH_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FTDMAC020_LLI_SRC_WIDTH_SHIFT@GOTPAGEOFF]
Lloh8:
	adrp	x11, _FTDMAC020_LLI_SRC_WIDTH_MSK@GOTPAGE
Lloh9:
	ldr	x11, [x11, _FTDMAC020_LLI_SRC_WIDTH_MSK@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _PL080S_LLI_CCTL2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PL080S_LLI_CCTL2@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w8, [x1, x8, lsl #2]
Lloh13:
	adrp	x9, _PL080S_CONTROL_TRANSFER_SIZE_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PL080S_CONTROL_TRANSFER_SIZE_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh16:
	adrp	x9, _PL080_LLI_CCTL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PL080_LLI_CCTL@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	w9, [x1, x9, lsl #2]
	b	LBB0_5
LBB0_4:
Lloh19:
	adrp	x8, _PL080_LLI_CCTL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PL080_LLI_CCTL@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	w9, [x1, x8, lsl #2]
Lloh22:
	adrp	x8, _PL080_CONTROL_TRANSFER_SIZE_MASK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PL080_CONTROL_TRANSFER_SIZE_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	and	w8, w8, w9
LBB0_5:
Lloh25:
	adrp	x10, _PL080_CONTROL_SWIDTH_SHIFT@GOTPAGE
Lloh26:
	ldr	x10, [x10, _PL080_CONTROL_SWIDTH_SHIFT@GOTPAGEOFF]
Lloh27:
	adrp	x11, _PL080_CONTROL_SWIDTH_MASK@GOTPAGE
Lloh28:
	ldr	x11, [x11, _PL080_CONTROL_SWIDTH_MASK@GOTPAGEOFF]
LBB0_6:
	ldr	w11, [x11]
	and	w9, w11, w9
	ldr	w10, [x10]
	asr	w9, w9, w10
	lsl	w10, w8, #2
	lsl	w11, w8, #1
	cmp	w9, #130
	csel	w8, w8, w11, ne
	cmp	w9, #129
	csel	w0, w10, w8, eq
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PL080_LLI_CCTL,8,3             ; @PL080_LLI_CCTL
	.comm	_FTDMAC020_LLI_TRANSFER_SIZE_MASK,4,2 ; @FTDMAC020_LLI_TRANSFER_SIZE_MASK
	.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	_PL080S_LLI_CCTL2,8,3           ; @PL080S_LLI_CCTL2
	.comm	_PL080S_CONTROL_TRANSFER_SIZE_MASK,4,2 ; @PL080S_CONTROL_TRANSFER_SIZE_MASK
	.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_TRANSFER_SIZE_MASK,4,2 ; @PL080_CONTROL_TRANSFER_SIZE_MASK
	.no_dead_strip	_get_bytes_in_lli
.subsections_via_symbols
