	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_host_common_probe          ## -- Begin function pci_host_common_probe
	.p2align	4, 0x90
_pci_host_common_probe:                 ## @pci_host_common_probe
	.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	%rsi, %r15
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_devm_pci_alloc_host_bridge
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_of_pci_check_probe_only
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_gen_pci_init
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_4:
	movq	_PCI_PROBE_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pci_has_flag
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_PCI_REASSIGN_ALL_BUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pci_add_flags
LBB0_6:
	movq	%r13, %rsi
	addq	$48, %rsi
	leaq	-48(%rbp), %rdi
	callq	_list_splice_init
	movq	%r14, 40(%r13)
	movq	%r12, 32(%r13)
	movl	(%r12), %eax
	movl	%eax, 24(%r13)
	movq	%r15, 16(%r13)
	movq	_of_irq_parse_and_map_pci@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_pci_common_swizzle@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	%r13, %rdi
	callq	_pci_host_probe
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	callq	_pci_free_resource_list
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PCI_PROBE_ONLY,4,2             ## @PCI_PROBE_ONLY
	.comm	_PCI_REASSIGN_ALL_BUS,4,2       ## @PCI_REASSIGN_ALL_BUS
	.comm	_of_irq_parse_and_map_pci,4,2   ## @of_irq_parse_and_map_pci
	.comm	_pci_common_swizzle,4,2         ## @pci_common_swizzle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_host_common_probe          ; -- Begin function pci_host_common_probe
	.p2align	2
_pci_host_common_probe:                 ; @pci_host_common_probe
	.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	x21, x1
	mov	x19, x0
	mov	w1, #0
	bl	_devm_pci_alloc_host_bridge
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_of_pci_check_probe_only
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_gen_pci_init
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_9
LBB0_3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _PCI_PROBE_ONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_PROBE_ONLY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_pci_has_flag
	cbnz	w0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _PCI_REASSIGN_ALL_BUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_REASSIGN_ALL_BUS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_pci_add_flags
LBB0_6:
	add	x1, x20, #48
	add	x0, sp, #8
	bl	_list_splice_init
	stp	x22, x19, [x20, #32]
	ldr	w8, [x22]
	str	w8, [x20, #24]
	str	x21, [x20, #16]
Lloh9:
	adrp	x8, _of_irq_parse_and_map_pci@GOTPAGE
Lloh10:
	ldr	x8, [x8, _of_irq_parse_and_map_pci@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _pci_common_swizzle@GOTPAGE
Lloh13:
	ldr	x9, [x9, _pci_common_swizzle@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #4]
	mov	x0, x20
	bl	_pci_host_probe
	tbnz	w0, #31, LBB0_8
; %bb.7:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_platform_set_drvdata
	mov	w21, #0
	b	LBB0_9
LBB0_8:
	mov	x21, x0
	add	x0, sp, #8
	bl	_pci_free_resource_list
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PCI_PROBE_ONLY,4,2             ; @PCI_PROBE_ONLY
	.comm	_PCI_REASSIGN_ALL_BUS,4,2       ; @PCI_REASSIGN_ALL_BUS
	.comm	_of_irq_parse_and_map_pci,4,2   ; @of_irq_parse_and_map_pci
	.comm	_pci_common_swizzle,4,2         ; @pci_common_swizzle
.subsections_via_symbols
