	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx6_pcie_quirk
_imx6_pcie_quirk:                       ## @imx6_pcie_quirk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	16(%rdi), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	movq	(%rcx), %rcx
	cmpq	_imx6_pcie_driver@GOTPCREL(%rip), %rcx
	jne	LBB0_5
## %bb.3:
	movq	%rdi, %rbx
	movq	16(%rax), %rdi
	movq	(%rax), %rax
	cmpq	(%rdi), %rax
	jne	LBB0_5
## %bb.4:
	callq	_to_dw_pcie_from_pp
	movq	%rax, %rdi
	callq	_to_imx6_pcie
	movq	(%rax), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	movq	%rdx, (%rbx)
	addq	$8, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_imx6_pcie_driver,4,2           ## @imx6_pcie_driver
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Limiting cfg_size to %d\n"

	.no_dead_strip	_imx6_pcie_quirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx6_pcie_quirk
_imx6_pcie_quirk:                       ; @imx6_pcie_quirk
	.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
	ldr	x8, [x0, #16]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.1:
	ldr	x9, [x9]
	cbz	x9, LBB0_6
; %bb.2:
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _imx6_pcie_driver@GOTPAGE
Lloh1:
	ldr	x10, [x10, _imx6_pcie_driver@GOTPAGEOFF]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.3:
	mov	x19, x0
	ldr	x0, [x8, #16]
	ldr	x8, [x8]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	bl	_to_dw_pcie_from_pp
	bl	_to_imx6_pcie
	ldr	x8, [x0]
	ldr	x2, [x8]
	cbz	x2, LBB0_6
; %bb.5:
	str	x2, [x19], #8
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_info
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_imx6_pcie_driver,4,2           ; @imx6_pcie_driver
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Limiting cfg_size to %d\n"

	.no_dead_strip	_imx6_pcie_quirk
.subsections_via_symbols
