	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snbep_pci2phy_map_init
_snbep_pci2phy_map_init:                ## @snbep_pci2phy_map_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PCI_VENDOR_ID_INTEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_pci_get_device
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	leaq	-44(%rbp), %r14
	movq	_pcibus_to_physid@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movslq	(%rax), %r15
	movq	%rbx, %rdi
	movl	$64, %esi
	movq	%r14, %rdx
	callq	_pci_read_config_dword
	movl	-44(%rbp), %r12d
	movq	%rbx, %rdi
	movl	$84, %esi
	movq	%r14, %rdx
	callq	_pci_read_config_dword
	movl	-44(%rbp), %eax
	movl	%eax, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	cmpl	%edx, %r12d
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	shrl	$3, %edx
	andl	$7, %edx
	movl	$1, %ecx
	cmpl	%edx, %r12d
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	shrl	$6, %edx
	andl	$7, %edx
	movl	$2, %ecx
	cmpl	%edx, %r12d
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	shrl	$9, %edx
	andl	$7, %edx
	movl	$3, %ecx
	cmpl	%edx, %r12d
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	shrl	$12, %edx
	andl	$7, %edx
	movl	$4, %ecx
	cmpl	%edx, %r12d
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	shrl	$15, %edx
	andl	$7, %edx
	movl	$5, %ecx
	cmpl	%edx, %r12d
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	shrl	$18, %edx
	andl	$7, %edx
	movl	$6, %ecx
	cmpl	%edx, %r12d
	je	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	shrl	$21, %eax
	andl	$7, %eax
	movl	$7, %ecx
	cmpl	%eax, %r12d
	jne	LBB0_11
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movl	%ecx, (%rax,%r15,4)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PCI_VENDOR_ID_INTEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_pci_get_device
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_INTEL,4,2        ## @PCI_VENDOR_ID_INTEL
	.comm	_PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX,4,2 ## @PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX
	.comm	_pcibus_to_physid,8,3           ## @pcibus_to_physid
	.no_dead_strip	_snbep_pci2phy_map_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snbep_pci2phy_map_init
_snbep_pci2phy_map_init:                ; @snbep_pci2phy_map_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x20, _PCI_VENDOR_ID_INTEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PCI_VENDOR_ID_INTEL@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x2, #0
	bl	_pci_get_device
	cbz	x0, LBB0_20
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x22, _pcibus_to_physid@GOTPAGE
Lloh5:
	ldr	x22, [x22, _pcibus_to_physid@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldrsw	x23, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #64
	bl	_pci_read_config_dword
	ldr	w24, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #84
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
	and	w9, w8, #0x7
	cmp	w24, w9
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	b	LBB0_18
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w9, w8, #3, #3
	cmp	w24, w9
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	b	LBB0_18
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w9, w8, #6, #3
	cmp	w24, w9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #2
	b	LBB0_18
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w9, w8, #9, #3
	cmp	w24, w9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #3
	b	LBB0_18
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w9, w8, #12, #3
	cmp	w24, w9
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #4
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w9, w8, #15, #3
	cmp	w24, w9
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #5
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w9, w8, #18, #3
	cmp	w24, w9
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #6
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w8, w8, #21, #3
	cmp	w24, w8
	b.ne	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #7
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x22]
	str	w8, [x9, x23, lsl #2]
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	ldr	w1, [x21]
	mov	x2, x19
	bl	_pci_get_device
	mov	x19, x0
	cbnz	x0, LBB0_2
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_INTEL,4,2        ; @PCI_VENDOR_ID_INTEL
	.comm	_PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX,4,2 ; @PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX
	.comm	_pcibus_to_physid,8,3           ; @pcibus_to_physid
	.no_dead_strip	_snbep_pci2phy_map_init
.subsections_via_symbols
