	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xilinx_pcie_parse_dt
_xilinx_pcie_parse_dt:                  ## @xilinx_pcie_parse_dt
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	(%r14), %r12
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_of_address_to_resource
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_2:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_devm_pci_remap_cfg_resource
	movl	%eax, 4(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, (%r15)
	movq	_xilinx_pcie_intr_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rsi
	movq	_IRQF_NO_THREAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rsi), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r12d
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r12d, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing \"reg\" property\n"

	.comm	_xilinx_pcie_intr_handler,4,2   ## @xilinx_pcie_intr_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_IRQF_NO_THREAD,4,2             ## @IRQF_NO_THREAD
L_.str.1:                               ## @.str.1
	.asciz	"xilinx-pcie"

L_.str.2:                               ## @.str.2
	.asciz	"unable to request irq %d\n"

	.no_dead_strip	_xilinx_pcie_parse_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xilinx_pcie_parse_dt
_xilinx_pcie_parse_dt:                  ; @xilinx_pcie_parse_dt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	x22, [x19]
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #0
	bl	_of_address_to_resource
	cbz	w0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_3:
	add	x1, sp, #8
	mov	x0, x19
	bl	_devm_pci_remap_cfg_resource
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x20, #4]
	bl	_PTR_ERR
	mov	x21, x0
LBB0_5:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_6:
	mov	x0, x22
	mov	w1, #0
	bl	_irq_of_parse_and_map
	mov	x1, x0
	str	w0, [x20]
Lloh2:
	adrp	x8, _xilinx_pcie_intr_handler@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xilinx_pcie_intr_handler@GOTPAGEOFF]
Lloh4:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _IRQF_NO_THREAD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IRQF_NO_THREAD@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh11:
	adrp	x4, l_.str.1@PAGE
Lloh12:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x5, x20
	bl	_devm_request_irq
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.7:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing \"reg\" property\n"

	.comm	_xilinx_pcie_intr_handler,4,2   ; @xilinx_pcie_intr_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_IRQF_NO_THREAD,4,2             ; @IRQF_NO_THREAD
l_.str.1:                               ; @.str.1
	.asciz	"xilinx-pcie"

l_.str.2:                               ; @.str.2
	.asciz	"unable to request irq %d\n"

	.no_dead_strip	_xilinx_pcie_parse_dt
.subsections_via_symbols
