	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_device_info_subplatform_init ## -- Begin function intel_device_info_subplatform_init
	.p2align	4, 0x90
_intel_device_info_subplatform_init:    ## @intel_device_info_subplatform_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_INTEL_INFO
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_RUNTIME_INFO
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	___platform_mask_index
	movl	%eax, %r12d
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	___platform_mask_bit
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_INTEL_DEVID
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_RUNTIME_INFO
	movq	(%rax), %rax
	movl	%r12d, %r12d
	movl	%ebx, (%rax,%r12,4)
	movq	_subplatform_ult_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_find_devid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_INTEL_SUBPLATFORM_ULT@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_2:
	movq	_subplatform_ulx_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_find_devid
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_INTEL_SUBPLATFORM_ULX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_IS_BROADWELL
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movq	_INTEL_SUBPLATFORM_ULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r14d, %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_subplatform_portf_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_find_devid
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_INTEL_SUBPLATFORM_PORTF@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_5:
	movl	%r14d, %ebx
LBB0_11:
	movq	_INTEL_SUBPLATFORM_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%ebx, %edi
	callq	_GEM_BUG_ON
	movq	%r15, %rdi
	callq	_RUNTIME_INFO
	movq	(%rax), %rax
	orl	%ebx, (%rax,%r12,4)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_subplatform_ult_ids,4,2        ## @subplatform_ult_ids
	.comm	_INTEL_SUBPLATFORM_ULT,4,2      ## @INTEL_SUBPLATFORM_ULT
	.comm	_subplatform_ulx_ids,4,2        ## @subplatform_ulx_ids
	.comm	_INTEL_SUBPLATFORM_ULX,4,2      ## @INTEL_SUBPLATFORM_ULX
	.comm	_subplatform_portf_ids,4,2      ## @subplatform_portf_ids
	.comm	_INTEL_SUBPLATFORM_PORTF,4,2    ## @INTEL_SUBPLATFORM_PORTF
	.comm	_INTEL_SUBPLATFORM_BITS,4,2     ## @INTEL_SUBPLATFORM_BITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_device_info_subplatform_init ; -- Begin function intel_device_info_subplatform_init
	.p2align	2
_intel_device_info_subplatform_init:    ; @intel_device_info_subplatform_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_INTEL_INFO
	mov	x20, x0
	mov	x0, x19
	bl	_RUNTIME_INFO
	mov	x21, x0
	ldr	w1, [x20]
	bl	___platform_mask_index
	mov	x22, x0
	ldr	w1, [x20]
	mov	x0, x21
	bl	___platform_mask_bit
	mov	x21, x0
	mov	x0, x19
	bl	_INTEL_DEVID
	mov	x20, x0
	mov	x0, x21
	bl	_BIT
	mov	x21, x0
	mov	x0, x19
	bl	_RUNTIME_INFO
	ldr	x8, [x0]
	mov	w23, w22
	str	w21, [x8, w22, uxtw #2]
Lloh0:
	adrp	x8, _subplatform_ult_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _subplatform_ult_ids@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_find_devid
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _INTEL_SUBPLATFORM_ULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEL_SUBPLATFORM_ULT@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	bl	_BIT
	mov	x20, x0
	b	LBB0_10
LBB0_3:
Lloh5:
	adrp	x8, _subplatform_ulx_ids@GOTPAGE
Lloh6:
	ldr	x8, [x8, _subplatform_ulx_ids@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_find_devid
	cbz	x0, LBB0_7
; %bb.4:
Lloh8:
	adrp	x8, _INTEL_SUBPLATFORM_ULX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INTEL_SUBPLATFORM_ULX@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_BIT
	mov	x20, x0
	mov	x0, x19
	bl	_IS_HASWELL
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_IS_BROADWELL
	cbz	x0, LBB0_10
LBB0_6:
Lloh11:
	adrp	x8, _INTEL_SUBPLATFORM_ULT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INTEL_SUBPLATFORM_ULT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_BIT
	orr	w20, w0, w20
	b	LBB0_10
LBB0_7:
Lloh14:
	adrp	x8, _subplatform_portf_ids@GOTPAGE
Lloh15:
	ldr	x8, [x8, _subplatform_portf_ids@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_find_devid
	cbz	x0, LBB0_9
; %bb.8:
Lloh17:
	adrp	x8, _INTEL_SUBPLATFORM_PORTF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INTEL_SUBPLATFORM_PORTF@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	mov	w20, #0
LBB0_10:
Lloh19:
	adrp	x8, _INTEL_SUBPLATFORM_BITS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INTEL_SUBPLATFORM_BITS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	bic	w0, w20, w8
	bl	_GEM_BUG_ON
	mov	x0, x19
	bl	_RUNTIME_INFO
	ldr	x8, [x0]
	lsl	x9, x23, #2
	ldr	w10, [x8, x9]
	orr	w10, w10, w20
	str	w10, [x8, x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_subplatform_ult_ids,4,2        ; @subplatform_ult_ids
	.comm	_INTEL_SUBPLATFORM_ULT,4,2      ; @INTEL_SUBPLATFORM_ULT
	.comm	_subplatform_ulx_ids,4,2        ; @subplatform_ulx_ids
	.comm	_INTEL_SUBPLATFORM_ULX,4,2      ; @INTEL_SUBPLATFORM_ULX
	.comm	_subplatform_portf_ids,4,2      ; @subplatform_portf_ids
	.comm	_INTEL_SUBPLATFORM_PORTF,4,2    ; @INTEL_SUBPLATFORM_PORTF
	.comm	_INTEL_SUBPLATFORM_BITS,4,2     ; @INTEL_SUBPLATFORM_BITS
.subsections_via_symbols
