	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pic32_sdhci_shared_bus
_pic32_sdhci_shared_bus:                ## @pic32_sdhci_shared_bus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movq	_SDH_SHARED_BUS_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movq	_SDH_SHARED_BUS_NR_CLK_PINS_MASK@GOTPCREL(%rip), %rcx
	movq	_SDH_SHARED_BUS_NR_IRQ_PINS_MASK@GOTPCREL(%rip), %r8
	movl	(%rcx), %esi
	andl	%eax, %esi
	andl	$1, %esi
	negl	%esi
	movq	_SDH_SHARED_BUS_CLK_PINS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	movl	$1, %edx
	shll	%cl, %edx
	andl	%esi, %edx
	orl	%eax, %edx
	andl	(%r8), %eax
	shll	$27, %eax
	sarl	$31, %eax
	movq	_SDH_SHARED_BUS_IRQ_PINS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	andl	%eax, %edi
	orl	%edx, %edi
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDH_SHARED_BUS_CTRL,8,3        ## @SDH_SHARED_BUS_CTRL
	.comm	_SDH_SHARED_BUS_NR_CLK_PINS_MASK,4,2 ## @SDH_SHARED_BUS_NR_CLK_PINS_MASK
	.comm	_SDH_SHARED_BUS_NR_IRQ_PINS_MASK,4,2 ## @SDH_SHARED_BUS_NR_IRQ_PINS_MASK
	.comm	_SDH_SHARED_BUS_CLK_PINS,4,2    ## @SDH_SHARED_BUS_CLK_PINS
	.comm	_SDH_SHARED_BUS_IRQ_PINS,4,2    ## @SDH_SHARED_BUS_IRQ_PINS
	.no_dead_strip	_pic32_sdhci_shared_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pic32_sdhci_shared_bus
_pic32_sdhci_shared_bus:                ; @pic32_sdhci_shared_bus
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _SDH_SHARED_BUS_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SDH_SHARED_BUS_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _SDH_SHARED_BUS_NR_CLK_PINS_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SDH_SHARED_BUS_NR_CLK_PINS_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x9, _SDH_SHARED_BUS_NR_IRQ_PINS_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SDH_SHARED_BUS_NR_IRQ_PINS_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	and	w8, w0, w8
	sbfx	w8, w8, #0, #1
Lloh8:
	adrp	x10, _SDH_SHARED_BUS_CLK_PINS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SDH_SHARED_BUS_CLK_PINS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	mov	w11, #1
	lsl	w10, w11, w10
	and	w8, w8, w10
	orr	w8, w8, w0
	and	w9, w0, w9
	lsl	w9, w9, #27
Lloh11:
	adrp	x10, _SDH_SHARED_BUS_IRQ_PINS@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SDH_SHARED_BUS_IRQ_PINS@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	lsl	w10, w11, w10
	and	w9, w10, w9, asr #31
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SDH_SHARED_BUS_CTRL,8,3        ; @SDH_SHARED_BUS_CTRL
	.comm	_SDH_SHARED_BUS_NR_CLK_PINS_MASK,4,2 ; @SDH_SHARED_BUS_NR_CLK_PINS_MASK
	.comm	_SDH_SHARED_BUS_NR_IRQ_PINS_MASK,4,2 ; @SDH_SHARED_BUS_NR_IRQ_PINS_MASK
	.comm	_SDH_SHARED_BUS_CLK_PINS,4,2    ; @SDH_SHARED_BUS_CLK_PINS
	.comm	_SDH_SHARED_BUS_IRQ_PINS,4,2    ; @SDH_SHARED_BUS_IRQ_PINS
	.no_dead_strip	_pic32_sdhci_shared_bus
.subsections_via_symbols
