	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pl08x_get_cctl
_pl08x_get_cctl:                        ## @pl08x_get_cctl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_pl08x_width
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_PL080_CONTROL_SWIDTH_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, %eax
	shll	%cl, %eax
	movq	_PL080_CONTROL_DWIDTH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	movl	$1, %edi
	cmovel	%r14d, %edi
	callq	_pl08x_burst
	movq	_PL080_CONTROL_SB_SIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edi
	shll	%cl, %edi
	orl	%ebx, %edi
	movq	_PL080_CONTROL_DB_SIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pl08x_cctl                     ## TAILCALL
LBB0_1:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PL080_CONTROL_SWIDTH_SHIFT,4,2 ## @PL080_CONTROL_SWIDTH_SHIFT
	.comm	_PL080_CONTROL_DWIDTH_SHIFT,4,2 ## @PL080_CONTROL_DWIDTH_SHIFT
	.comm	_PL080_CONTROL_SB_SIZE_SHIFT,4,2 ## @PL080_CONTROL_SB_SIZE_SHIFT
	.comm	_PL080_CONTROL_DB_SIZE_SHIFT,4,2 ## @PL080_CONTROL_DB_SIZE_SHIFT
	.no_dead_strip	_pl08x_get_cctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pl08x_get_cctl
_pl08x_get_cctl:                        ; @pl08x_get_cctl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
	mov	x0, x1
	bl	_pl08x_width
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PL080_CONTROL_SWIDTH_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PL080_CONTROL_SWIDTH_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w0, w8
Lloh3:
	adrp	x9, _PL080_CONTROL_DWIDTH_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PL080_CONTROL_DWIDTH_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w0, w9
	orr	w21, w9, w8
	ldr	x8, [x20]
	ldr	x8, [x8]
	cmp	x8, #0
	csinc	w0, w19, wzr, eq
	bl	_pl08x_burst
Lloh6:
	adrp	x8, _PL080_CONTROL_SB_SIZE_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PL080_CONTROL_SB_SIZE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	orr	w8, w21, w8
Lloh9:
	adrp	x9, _PL080_CONTROL_DB_SIZE_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PL080_CONTROL_DB_SIZE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w0, w9
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pl08x_cctl
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PL080_CONTROL_SWIDTH_SHIFT,4,2 ; @PL080_CONTROL_SWIDTH_SHIFT
	.comm	_PL080_CONTROL_DWIDTH_SHIFT,4,2 ; @PL080_CONTROL_DWIDTH_SHIFT
	.comm	_PL080_CONTROL_SB_SIZE_SHIFT,4,2 ; @PL080_CONTROL_SB_SIZE_SHIFT
	.comm	_PL080_CONTROL_DB_SIZE_SHIFT,4,2 ; @PL080_CONTROL_DB_SIZE_SHIFT
	.no_dead_strip	_pl08x_get_cctl
.subsections_via_symbols
