	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_source_id
_get_source_id:                         ## @get_source_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	8(%rbx), %rax
	movq	_HASWELL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_BROADWELL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	orb	%cl, %dl
	movq	_KNIGHTS_LANDING@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	sete	%al
	orb	%dl, %al
	movzbl	%al, %eax
	movl	16(%rbx,%rax,4), %edi
	movq	_SAD_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	8(%rbx), %rax
	movl	-20(%rbp), %edi
	cmpq	(%r14), %rax
	jne	LBB0_2
## %bb.1:
	callq	_SOURCE_ID_KNL
	jmp	LBB0_3
LBB0_2:
	callq	_SOURCE_ID
LBB0_3:
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASWELL,8,3                    ## @HASWELL
	.comm	_BROADWELL,8,3                  ## @BROADWELL
	.comm	_KNIGHTS_LANDING,8,3            ## @KNIGHTS_LANDING
	.comm	_SAD_TARGET,4,2                 ## @SAD_TARGET
	.no_dead_strip	_get_source_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_source_id
_get_source_id:                         ; @get_source_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x19, [x0]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _HASWELL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HASWELL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _BROADWELL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BROADWELL@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x20, _KNIGHTS_LANDING@GOTPAGE
Lloh7:
	ldr	x20, [x20, _KNIGHTS_LANDING@GOTPAGEOFF]
	ldr	x11, [x20]
	cmp	x8, x11
	ccmp	x8, x10, #4, ne
	ccmp	x8, x9, #4, ne
	mov	w8, #16
	mov	w9, #20
	csel	x8, x9, x8, eq
	ldr	w0, [x19, x8]
Lloh8:
	adrp	x8, _SAD_TARGET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SAD_TARGET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	ldr	w0, [sp, #12]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_SOURCE_ID_KNL
	b	LBB0_3
LBB0_2:
	bl	_SOURCE_ID
LBB0_3:
	ldr	x8, [x19]
	str	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HASWELL,8,3                    ; @HASWELL
	.comm	_BROADWELL,8,3                  ; @BROADWELL
	.comm	_KNIGHTS_LANDING,8,3            ; @KNIGHTS_LANDING
	.comm	_SAD_TARGET,4,2                 ; @SAD_TARGET
	.no_dead_strip	_get_source_id
.subsections_via_symbols
