	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_spi_get_pdata              ## -- Begin function mmc_spi_get_pdata
	.p2align	4, 0x90
_mmc_spi_get_pdata:                     ## @mmc_spi_get_pdata
	.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
	testq	%rbx, %rbx
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_10
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	leaq	20(%rax), %rsi
	movq	%r12, %rdi
	callq	_mmc_of_parse_voltage
	testq	%rax, %rax
	jle	LBB0_6
## %bb.4:
	movq	%r15, %rbx
	addq	$8, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_of_mmc_spi_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_of_mmc_spi_exit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	jmp	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	callq	_kfree
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_8:
	movq	_MMC_CAP_NEEDS_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_9:
	movq	%rbx, (%r14)
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_of_mmc_spi_init,4,2            ## @of_mmc_spi_init
	.comm	_of_mmc_spi_exit,4,2            ## @of_mmc_spi_exit
	.comm	_MMC_CAP_NEEDS_POLL,4,2         ## @MMC_CAP_NEEDS_POLL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_spi_get_pdata              ; -- Begin function mmc_spi_get_pdata
	.p2align	2
_mmc_spi_get_pdata:                     ; @mmc_spi_get_pdata
	.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
	ldp	x20, x21, [x0]
	cmp	x20, #0
	ccmp	x21, #0, #4, eq
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x22, x0
	add	x1, x0, #20
	mov	x0, x21
	bl	_mmc_of_parse_voltage
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.3:
	add	x20, x22, #8
	mov	x0, x21
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	x0, [x22]
	cbz	x0, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _of_mmc_spi_init@GOTPAGE
Lloh4:
	ldr	x8, [x8, _of_mmc_spi_init@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _of_mmc_spi_exit@GOTPAGE
Lloh7:
	ldr	x9, [x9, _of_mmc_spi_exit@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #12]
	b	LBB0_8
LBB0_5:
	mov	x0, x22
	bl	_kfree
LBB0_6:
	mov	x20, #0
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x8, _MMC_CAP_NEEDS_POLL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMC_CAP_NEEDS_POLL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_8:
	str	x20, [x19]
LBB0_9:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_of_mmc_spi_init,4,2            ; @of_mmc_spi_init
	.comm	_of_mmc_spi_exit,4,2            ; @of_mmc_spi_exit
	.comm	_MMC_CAP_NEEDS_POLL,4,2         ; @MMC_CAP_NEEDS_POLL
.subsections_via_symbols
