	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mci_pci_probe
_dw_mci_pci_probe:                      ## @dw_mci_pci_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_pcim_enable_device
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movl	4(%rbx), %eax
	movl	%eax, 28(%r14)
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	%rbx, 16(%r14)
	movq	_pci_board_data@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	_PCI_BAR_NO@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	movl	$1, %r15d
	shll	%cl, %r15d
	movq	%rbx, %rdi
	callq	_pci_name
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_pcim_iomap_regions
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_pcim_iomap_table
	movslq	(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_pci_set_master
	movq	%r14, %rdi
	callq	_dw_mci_probe
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pci_set_drvdata
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_pci_board_data,4,2             ## @pci_board_data
	.comm	_PCI_BAR_NO,4,2                 ## @PCI_BAR_NO
	.no_dead_strip	_dw_mci_pci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_mci_pci_probe
_dw_mci_pci_probe:                      ; @dw_mci_pci_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_pcim_enable_device
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh6:
	adrp	x8, _pci_board_data@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pci_board_data@GOTPAGEOFF]
	stp	x8, x19, [x0, #8]
Lloh8:
	adrp	x22, _PCI_BAR_NO@GOTPAGE
Lloh9:
	ldr	x22, [x22, _PCI_BAR_NO@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	w9, #1
	lsl	w21, w9, w8
	mov	x0, x19
	bl	_pci_name
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_pcim_iomap_regions
	cbnz	w0, LBB0_1
; %bb.4:
	mov	x0, x19
	bl	_pcim_iomap_table
	ldrsw	x8, [x22]
	ldr	w8, [x0, x8, lsl #2]
	str	w8, [x20]
	mov	x0, x19
	bl	_pci_set_master
	mov	x0, x20
	bl	_dw_mci_probe
	cbnz	w0, LBB0_1
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_pci_set_drvdata
	mov	w0, #0
	b	LBB0_1
LBB0_6:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_pci_board_data,4,2             ; @pci_board_data
	.comm	_PCI_BAR_NO,4,2                 ; @PCI_BAR_NO
	.no_dead_strip	_dw_mci_pci_probe
.subsections_via_symbols
