	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_hw_id
_new_hw_id:                             ## @new_hw_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	addq	$4, %rdi
	callq	_lockdep_assert_held
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$11, %eax
	jle	LBB0_2
## %bb.1:
	movq	_GEN12_MAX_CONTEXT_HW_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$10, %eax
	jle	LBB0_4
## %bb.3:
	movq	_GEN11_MAX_CONTEXT_HW_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_USES_GUC_SUBMISSION
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_MAX_CONTEXT_HW_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_MAX_GUC_CONTEXT_HW_ID@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ida_simple_get                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN12_MAX_CONTEXT_HW_ID,4,2    ## @GEN12_MAX_CONTEXT_HW_ID
	.comm	_GEN11_MAX_CONTEXT_HW_ID,4,2    ## @GEN11_MAX_CONTEXT_HW_ID
	.comm	_MAX_GUC_CONTEXT_HW_ID,4,2      ## @MAX_GUC_CONTEXT_HW_ID
	.comm	_MAX_CONTEXT_HW_ID,4,2          ## @MAX_CONTEXT_HW_ID
	.no_dead_strip	_new_hw_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_hw_id
_new_hw_id:                             ; @new_hw_id
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #4
	bl	_lockdep_assert_held
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #11
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GEN12_MAX_CONTEXT_HW_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN12_MAX_CONTEXT_HW_ID@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #10
	b.le	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _GEN11_MAX_CONTEXT_HW_ID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GEN11_MAX_CONTEXT_HW_ID@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_USES_GUC_SUBMISSION
Lloh4:
	adrp	x8, _MAX_GUC_CONTEXT_HW_ID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_GUC_CONTEXT_HW_ID@GOTPAGEOFF]
Lloh6:
	adrp	x9, _MAX_CONTEXT_HW_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_CONTEXT_HW_ID@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ida_simple_get
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN12_MAX_CONTEXT_HW_ID,4,2    ; @GEN12_MAX_CONTEXT_HW_ID
	.comm	_GEN11_MAX_CONTEXT_HW_ID,4,2    ; @GEN11_MAX_CONTEXT_HW_ID
	.comm	_MAX_GUC_CONTEXT_HW_ID,4,2      ; @MAX_GUC_CONTEXT_HW_ID
	.comm	_MAX_CONTEXT_HW_ID,4,2          ; @MAX_CONTEXT_HW_ID
	.no_dead_strip	_new_hw_id
.subsections_via_symbols
