	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g4x_plane_fifo_size
_g4x_plane_fifo_size:                   ## @g4x_plane_fifo_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$130, %edi
	je	LBB0_2
## %bb.3:
	cmpl	$129, %edi
	jne	LBB0_6
## %bb.4:
	movq	_G4X_WM_LEVEL_NORMAL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	movl	$127, %ecx
	movl	$511, %eax                      ## imm = 0x1FF
	cmovel	%ecx, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_G4X_WM_LEVEL_NORMAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%esi, (%rax)
	movl	$127, %eax
	cmovnel	%ecx, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$63, %eax
	popq	%rbp
	retq
LBB0_6:
	callq	_MISSING_CASE
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_G4X_WM_LEVEL_NORMAL,4,2        ## @G4X_WM_LEVEL_NORMAL
	.no_dead_strip	_g4x_plane_fifo_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g4x_plane_fifo_size
_g4x_plane_fifo_size:                   ; @g4x_plane_fifo_size
	.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
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #129
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _G4X_WM_LEVEL_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _G4X_WM_LEVEL_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #511
	mov	w10, #127
	cmp	w8, w1
	csel	w0, w10, w9, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _G4X_WM_LEVEL_NORMAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _G4X_WM_LEVEL_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #127
	cmp	w8, w1
	csel	w0, w9, wzr, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #63
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_MISSING_CASE
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_G4X_WM_LEVEL_NORMAL,4,2        ; @G4X_WM_LEVEL_NORMAL
	.no_dead_strip	_g4x_plane_fifo_size
.subsections_via_symbols
