	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdhci_get_property             ## -- Begin function sdhci_get_property
	.p2align	4, 0x90
_sdhci_get_property:                    ## @sdhci_get_property
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_platform_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_sdhci_priv
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_present
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r14)
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_present
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_device_property_read_u32
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	cmpl	$1, -28(%rbp)
	jne	LBB0_6
LBB0_5:
	movq	_SDHCI_QUIRK_FORCE_1_BIT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r14)
LBB0_6:
	movq	%rbx, %rdi
	callq	_sdhci_wp_inverted
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_SDHCI_QUIRK_INVERTED_WRITE_PROTECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r14)
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_present
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_SDHCI_QUIRK_BROKEN_CARD_DETECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r14)
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_present
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_SDHCI_QUIRK2_NO_1_8_V@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_12:
	movq	%rbx, %rdi
	callq	_sdhci_get_compatibility
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_device_property_read_u32
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_present
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_MMC_PM_KEEP_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
LBB0_14:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	movq	_MMC_PM_WAKE_SDIO_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sdhci,auto-cmd12"

	.comm	_SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,4,2 ## @SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12
L_.str.1:                               ## @.str.1
	.asciz	"sdhci,1-bit-only"

L_.str.2:                               ## @.str.2
	.asciz	"bus-width"

	.comm	_SDHCI_QUIRK_FORCE_1_BIT_DATA,4,2 ## @SDHCI_QUIRK_FORCE_1_BIT_DATA
	.comm	_SDHCI_QUIRK_INVERTED_WRITE_PROTECT,4,2 ## @SDHCI_QUIRK_INVERTED_WRITE_PROTECT
L_.str.3:                               ## @.str.3
	.asciz	"broken-cd"

	.comm	_SDHCI_QUIRK_BROKEN_CARD_DETECTION,4,2 ## @SDHCI_QUIRK_BROKEN_CARD_DETECTION
L_.str.4:                               ## @.str.4
	.asciz	"no-1-8-v"

	.comm	_SDHCI_QUIRK2_NO_1_8_V,4,2      ## @SDHCI_QUIRK2_NO_1_8_V
L_.str.5:                               ## @.str.5
	.asciz	"clock-frequency"

L_.str.6:                               ## @.str.6
	.asciz	"keep-power-in-suspend"

	.comm	_MMC_PM_KEEP_POWER,4,2          ## @MMC_PM_KEEP_POWER
L_.str.7:                               ## @.str.7
	.asciz	"wakeup-source"

L_.str.8:                               ## @.str.8
	.asciz	"enable-sdio-wakeup"

	.comm	_MMC_PM_WAKE_SDIO_IRQ,4,2       ## @MMC_PM_WAKE_SDIO_IRQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdhci_get_property             ; -- Begin function sdhci_get_property
	.p2align	2
_sdhci_get_property:                    ; @sdhci_get_property
	.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
	bl	_platform_get_drvdata
	mov	x19, x0
	bl	_sdhci_priv
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_device_property_present
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_device_property_present
	cbnz	x0, LBB0_5
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_device_property_read_u32
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.ne	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _SDHCI_QUIRK_FORCE_1_BIT_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SDHCI_QUIRK_FORCE_1_BIT_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_6:
	mov	x0, x20
	bl	_sdhci_wp_inverted
	cbz	x0, LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _SDHCI_QUIRK_INVERTED_WRITE_PROTECT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SDHCI_QUIRK_INVERTED_WRITE_PROTECT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_8:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_device_property_present
	cbz	x0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _SDHCI_QUIRK_BROKEN_CARD_DETECTION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SDHCI_QUIRK_BROKEN_CARD_DETECTION@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_10:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_device_property_present
	cbz	x0, LBB0_12
; %bb.11:
Lloh22:
	adrp	x8, _SDHCI_QUIRK2_NO_1_8_V@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SDHCI_QUIRK2_NO_1_8_V@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_12:
	mov	x0, x20
	bl	_sdhci_get_compatibility
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_device_property_read_u32
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_device_property_present
	cbz	x0, LBB0_14
; %bb.13:
Lloh29:
	adrp	x8, _MMC_PM_KEEP_POWER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MMC_PM_KEEP_POWER@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_14:
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbnz	x0, LBB0_16
; %bb.15:
Lloh34:
	adrp	x1, l_.str.8@PAGE
Lloh35:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	x0, LBB0_17
LBB0_16:
Lloh36:
	adrp	x8, _MMC_PM_WAKE_SDIO_IRQ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MMC_PM_WAKE_SDIO_IRQ@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_17:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sdhci,auto-cmd12"

	.comm	_SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,4,2 ; @SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12
l_.str.1:                               ; @.str.1
	.asciz	"sdhci,1-bit-only"

l_.str.2:                               ; @.str.2
	.asciz	"bus-width"

	.comm	_SDHCI_QUIRK_FORCE_1_BIT_DATA,4,2 ; @SDHCI_QUIRK_FORCE_1_BIT_DATA
	.comm	_SDHCI_QUIRK_INVERTED_WRITE_PROTECT,4,2 ; @SDHCI_QUIRK_INVERTED_WRITE_PROTECT
l_.str.3:                               ; @.str.3
	.asciz	"broken-cd"

	.comm	_SDHCI_QUIRK_BROKEN_CARD_DETECTION,4,2 ; @SDHCI_QUIRK_BROKEN_CARD_DETECTION
l_.str.4:                               ; @.str.4
	.asciz	"no-1-8-v"

	.comm	_SDHCI_QUIRK2_NO_1_8_V,4,2      ; @SDHCI_QUIRK2_NO_1_8_V
l_.str.5:                               ; @.str.5
	.asciz	"clock-frequency"

l_.str.6:                               ; @.str.6
	.asciz	"keep-power-in-suspend"

	.comm	_MMC_PM_KEEP_POWER,4,2          ; @MMC_PM_KEEP_POWER
l_.str.7:                               ; @.str.7
	.asciz	"wakeup-source"

l_.str.8:                               ; @.str.8
	.asciz	"enable-sdio-wakeup"

	.comm	_MMC_PM_WAKE_SDIO_IRQ,4,2       ; @MMC_PM_WAKE_SDIO_IRQ
.subsections_via_symbols
