	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cper_print_pcie
_cper_print_pcie:                       ## @cper_print_pcie
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movq	_CPER_PCIE_VALID_PORT_TYPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	8(%rbx), %r15
	movq	_cper_pcie_port_type_strs@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r15
	jae	LBB0_2
## %bb.3:
	movq	(%r12), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rcx
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.1(%rip), %rcx
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_printk
	movl	(%rbx), %eax
LBB0_5:
	movq	_CPER_PCIE_VALID_VERSION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	120(%rbx), %rdx
	movq	128(%rbx), %rcx
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movl	(%rbx), %eax
LBB0_7:
	movq	_CPER_PCIE_VALID_COMMAND_STATUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	16(%rbx), %rdx
	movq	24(%rbx), %rcx
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movl	(%rbx), %eax
LBB0_9:
	movq	_CPER_PCIE_VALID_DEVICE_ID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movslq	112(%rbx), %rdx
	movl	108(%rbx), %ecx
	movl	100(%rbx), %r9d
	movl	104(%rbx), %r8d
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movl	64(%rbx), %eax
	movq	_CPER_PCIE_SLOT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movslq	%eax, %rdx
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movslq	96(%rbx), %rdx
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movq	72(%rbx), %rdx
	movq	80(%rbx), %rcx
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movq	88(%rbx), %rax
	movslq	(%rax), %rdx
	movl	4(%rax), %ecx
	movl	8(%rax), %r8d
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movl	(%rbx), %eax
LBB0_11:
	movq	_CPER_PCIE_VALID_SERIAL_NUMBER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	48(%rbx), %rdx
	movq	56(%rbx), %rcx
	leaq	L_.str.9(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printk
	movl	(%rbx), %eax
LBB0_13:
	movq	_CPER_PCIE_VALID_BRIDGE_CONTROL_STATUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.15:
	movq	32(%rbx), %rdx
	movq	40(%rbx), %rcx
	leaq	L_.str.10(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printk                         ## TAILCALL
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPER_PCIE_VALID_PORT_TYPE,4,2  ## @CPER_PCIE_VALID_PORT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%sport_type: %d, %s\n"

	.comm	_cper_pcie_port_type_strs,8,3   ## @cper_pcie_port_type_strs
L_.str.1:                               ## @.str.1
	.asciz	"unknown"

	.comm	_CPER_PCIE_VALID_VERSION,4,2    ## @CPER_PCIE_VALID_VERSION
L_.str.2:                               ## @.str.2
	.asciz	"%sversion: %d.%d\n"

	.comm	_CPER_PCIE_VALID_COMMAND_STATUS,4,2 ## @CPER_PCIE_VALID_COMMAND_STATUS
L_.str.3:                               ## @.str.3
	.asciz	"%scommand: 0x%04x, status: 0x%04x\n"

	.comm	_CPER_PCIE_VALID_DEVICE_ID,4,2  ## @CPER_PCIE_VALID_DEVICE_ID
L_.str.4:                               ## @.str.4
	.asciz	"%sdevice_id: %04x:%02x:%02x.%x\n"

L_.str.5:                               ## @.str.5
	.asciz	"%sslot: %d\n"

	.comm	_CPER_PCIE_SLOT_SHIFT,4,2       ## @CPER_PCIE_SLOT_SHIFT
L_.str.6:                               ## @.str.6
	.asciz	"%ssecondary_bus: 0x%02x\n"

L_.str.7:                               ## @.str.7
	.asciz	"%svendor_id: 0x%04x, device_id: 0x%04x\n"

L_.str.8:                               ## @.str.8
	.asciz	"%sclass_code: %02x%02x%02x\n"

	.comm	_CPER_PCIE_VALID_SERIAL_NUMBER,4,2 ## @CPER_PCIE_VALID_SERIAL_NUMBER
L_.str.9:                               ## @.str.9
	.asciz	"%sserial number: 0x%04x, 0x%04x\n"

	.comm	_CPER_PCIE_VALID_BRIDGE_CONTROL_STATUS,4,2 ## @CPER_PCIE_VALID_BRIDGE_CONTROL_STATUS
L_.str.10:                              ## @.str.10
	.asciz	"%sbridge: secondary_status: 0x%04x, control: 0x%04x\n"

	.no_dead_strip	_cper_print_pcie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cper_print_pcie
_cper_print_pcie:                       ; @cper_print_pcie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _CPER_PCIE_VALID_PORT_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CPER_PCIE_VALID_PORT_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	x21, [x20, #8]
Lloh3:
	adrp	x22, _cper_pcie_port_type_strs@GOTPAGE
Lloh4:
	ldr	x22, [x22, _cper_pcie_port_type_strs@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.hs	LBB0_3
; %bb.2:
	ldr	x8, [x22]
	ldr	x9, [x20, #8]
	ldr	x8, [x8, x9, lsl #3]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_4:
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_printk
	ldr	w8, [x20]
LBB0_5:
Lloh9:
	adrp	x9, _CPER_PCIE_VALID_VERSION@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CPER_PCIE_VALID_VERSION@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldp	x2, x8, [x20, #120]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	w8, [x20]
LBB0_7:
Lloh14:
	adrp	x9, _CPER_PCIE_VALID_COMMAND_STATUS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CPER_PCIE_VALID_COMMAND_STATUS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldp	x2, x8, [x20, #16]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	w8, [x20]
LBB0_9:
Lloh19:
	adrp	x9, _CPER_PCIE_VALID_DEVICE_ID@GOTPAGE
Lloh20:
	ldr	x9, [x9, _CPER_PCIE_VALID_DEVICE_ID@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	ldp	w8, w2, [x20, #108]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	ldp	w10, w9, [x20, #100]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	w8, [x20, #64]
Lloh24:
	adrp	x9, _CPER_PCIE_SLOT_SHIFT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CPER_PCIE_SLOT_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sxtw	x2, w8
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldrsw	x2, [x20, #96]
Lloh29:
	adrp	x0, l_.str.6@PAGE
Lloh30:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldp	x2, x8, [x20, #72]
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.7@PAGE
Lloh32:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	x8, [x20, #88]
	ldp	w2, w9, [x8]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	ldr	w8, [x8, #8]
	stp	x9, x8, [sp]
Lloh33:
	adrp	x0, l_.str.8@PAGE
Lloh34:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	w8, [x20]
LBB0_11:
Lloh35:
	adrp	x9, _CPER_PCIE_VALID_SERIAL_NUMBER@GOTPAGE
Lloh36:
	ldr	x9, [x9, _CPER_PCIE_VALID_SERIAL_NUMBER@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	ldp	x2, x8, [x20, #48]
	str	x8, [sp]
Lloh38:
	adrp	x0, l_.str.9@PAGE
Lloh39:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x19
	bl	_printk
	ldr	w8, [x20]
LBB0_13:
Lloh40:
	adrp	x9, _CPER_PCIE_VALID_BRIDGE_CONTROL_STATUS@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CPER_PCIE_VALID_BRIDGE_CONTROL_STATUS@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	ldp	x2, x8, [x20, #32]
	str	x8, [sp]
Lloh43:
	adrp	x0, l_.str.10@PAGE
Lloh44:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x19
	bl	_printk
LBB0_15:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_CPER_PCIE_VALID_PORT_TYPE,4,2  ; @CPER_PCIE_VALID_PORT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%sport_type: %d, %s\n"

	.comm	_cper_pcie_port_type_strs,8,3   ; @cper_pcie_port_type_strs
l_.str.1:                               ; @.str.1
	.asciz	"unknown"

	.comm	_CPER_PCIE_VALID_VERSION,4,2    ; @CPER_PCIE_VALID_VERSION
l_.str.2:                               ; @.str.2
	.asciz	"%sversion: %d.%d\n"

	.comm	_CPER_PCIE_VALID_COMMAND_STATUS,4,2 ; @CPER_PCIE_VALID_COMMAND_STATUS
l_.str.3:                               ; @.str.3
	.asciz	"%scommand: 0x%04x, status: 0x%04x\n"

	.comm	_CPER_PCIE_VALID_DEVICE_ID,4,2  ; @CPER_PCIE_VALID_DEVICE_ID
l_.str.4:                               ; @.str.4
	.asciz	"%sdevice_id: %04x:%02x:%02x.%x\n"

l_.str.5:                               ; @.str.5
	.asciz	"%sslot: %d\n"

	.comm	_CPER_PCIE_SLOT_SHIFT,4,2       ; @CPER_PCIE_SLOT_SHIFT
l_.str.6:                               ; @.str.6
	.asciz	"%ssecondary_bus: 0x%02x\n"

l_.str.7:                               ; @.str.7
	.asciz	"%svendor_id: 0x%04x, device_id: 0x%04x\n"

l_.str.8:                               ; @.str.8
	.asciz	"%sclass_code: %02x%02x%02x\n"

	.comm	_CPER_PCIE_VALID_SERIAL_NUMBER,4,2 ; @CPER_PCIE_VALID_SERIAL_NUMBER
l_.str.9:                               ; @.str.9
	.asciz	"%sserial number: 0x%04x, 0x%04x\n"

	.comm	_CPER_PCIE_VALID_BRIDGE_CONTROL_STATUS,4,2 ; @CPER_PCIE_VALID_BRIDGE_CONTROL_STATUS
l_.str.10:                              ; @.str.10
	.asciz	"%sbridge: secondary_status: 0x%04x, control: 0x%04x\n"

	.no_dead_strip	_cper_print_pcie
.subsections_via_symbols
