	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_hwsp
_set_hwsp:                              ## @set_hwsp
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	%r15, %rdi
	movl	$7, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %edi
	leal	-128(%rdi), %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_VEBOX_HWS_PGA_GEN7@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_4:
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_IS_GEN
	movl	4(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_RING_HWS_PGA_GEN6
	jmp	LBB0_7
LBB0_6:
	callq	_RING_HWS_PGA
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_8:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_GEM_BUG_ON
LBB0_9:
	movq	_RENDER_HWS_PGA_GEN7@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_BSD_HWS_PGA_GEN7@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_BLT_HWS_PGA_GEN7@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_RENDER_HWS_PGA_GEN7,4,2        ## @RENDER_HWS_PGA_GEN7
	.comm	_BLT_HWS_PGA_GEN7,4,2           ## @BLT_HWS_PGA_GEN7
	.comm	_BSD_HWS_PGA_GEN7,4,2           ## @BSD_HWS_PGA_GEN7
	.comm	_VEBOX_HWS_PGA_GEN7,4,2         ## @VEBOX_HWS_PGA_GEN7
	.no_dead_strip	_set_hwsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_hwsp
_set_hwsp:                              ; @set_hwsp
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	mov	w1, #7
	bl	_IS_GEN
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x20]
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh2:
	adrp	x8, _VEBOX_HWS_PGA_GEN7@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VEBOX_HWS_PGA_GEN7@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	mov	x0, x21
	mov	w1, #6
	bl	_IS_GEN
	mov	x8, x0
	ldr	w0, [x20, #4]
	cbz	x8, LBB0_6
; %bb.5:
	bl	_RING_HWS_PGA_GEN6
	b	LBB0_7
LBB0_6:
	bl	_RING_HWS_PGA
LBB0_7:
	mov	x20, x0
	b	LBB0_13
LBB0_8:
	bl	_GEM_BUG_ON
LBB0_9:
Lloh4:
	adrp	x8, _RENDER_HWS_PGA_GEN7@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RENDER_HWS_PGA_GEN7@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh6:
	adrp	x8, _BSD_HWS_PGA_GEN7@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BSD_HWS_PGA_GEN7@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh8:
	adrp	x8, _BLT_HWS_PGA_GEN7@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BLT_HWS_PGA_GEN7@GOTPAGEOFF]
LBB0_12:
	ldr	w20, [x8]
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	bl	_I915_WRITE
	mov	x0, x20
	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	_POSTING_READ
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
                                        ; -- End function
	.comm	_RENDER_HWS_PGA_GEN7,4,2        ; @RENDER_HWS_PGA_GEN7
	.comm	_BLT_HWS_PGA_GEN7,4,2           ; @BLT_HWS_PGA_GEN7
	.comm	_BSD_HWS_PGA_GEN7,4,2           ; @BSD_HWS_PGA_GEN7
	.comm	_VEBOX_HWS_PGA_GEN7,4,2         ; @VEBOX_HWS_PGA_GEN7
	.no_dead_strip	_set_hwsp
.subsections_via_symbols
