	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_get_cursor_pitch         ## -- Begin function hubp1_get_cursor_pitch
	.p2align	4, 0x90
_hubp1_get_cursor_pitch:                ## @hubp1_get_cursor_pitch
	.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	_CURSOR_PITCH_64_PIXELS@GOTPCREL(%rip), %rbx
	cmpl	$64, %edi
	je	LBB0_6
## %bb.1:
	movl	%edi, %esi
	cmpl	$256, %edi                      ## imm = 0x100
	je	LBB0_4
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.3:
	movq	_CURSOR_PITCH_128_PIXELS@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_4:
	movq	_CURSOR_PITCH_256_PIXELS@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_DC_ERR
LBB0_6:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CURSOR_PITCH_64_PIXELS,4,2     ## @CURSOR_PITCH_64_PIXELS
	.comm	_CURSOR_PITCH_128_PIXELS,4,2    ## @CURSOR_PITCH_128_PIXELS
	.comm	_CURSOR_PITCH_256_PIXELS,4,2    ## @CURSOR_PITCH_256_PIXELS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid cursor pitch of %d. Only 64/128/256 is supported on DCN.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_get_cursor_pitch         ; -- Begin function hubp1_get_cursor_pitch
	.p2align	2
_hubp1_get_cursor_pitch:                ; @hubp1_get_cursor_pitch
	.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, #64
	b.eq	LBB0_6
; %bb.1:
	mov	x1, x0
	cmp	w0, #256
	b.eq	LBB0_4
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _CURSOR_PITCH_128_PIXELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CURSOR_PITCH_128_PIXELS@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _CURSOR_PITCH_256_PIXELS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CURSOR_PITCH_256_PIXELS@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_ERR
LBB0_6:
Lloh6:
	adrp	x8, _CURSOR_PITCH_64_PIXELS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CURSOR_PITCH_64_PIXELS@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CURSOR_PITCH_64_PIXELS,4,2     ; @CURSOR_PITCH_64_PIXELS
	.comm	_CURSOR_PITCH_128_PIXELS,4,2    ; @CURSOR_PITCH_128_PIXELS
	.comm	_CURSOR_PITCH_256_PIXELS,4,2    ; @CURSOR_PITCH_256_PIXELS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid cursor pitch of %d. Only 64/128/256 is supported on DCN.\n"

.subsections_via_symbols
