	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa2xx_pcmcia_set_mcatt
_pxa2xx_pcmcia_set_mcatt:               ## @pxa2xx_pcmcia_set_mcatt
	.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
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	%edi, %r14d
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_pxa2xx_mcxx_setup
	movl	%eax, %ebx
	movq	_MCXX_SETUP_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_MCXX_SETUP_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_pxa2xx_mcxx_asst
	movq	_MCXX_ASST_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_MCXX_ASST_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_pxa2xx_mcxx_hold
	movq	_MCXX_HOLD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_MCXX_HOLD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	movl	%r14d, %edi
	callq	_MCATT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	___raw_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCXX_SETUP_MASK,4,2            ## @MCXX_SETUP_MASK
	.comm	_MCXX_SETUP_SHIFT,4,2           ## @MCXX_SETUP_SHIFT
	.comm	_MCXX_ASST_MASK,4,2             ## @MCXX_ASST_MASK
	.comm	_MCXX_ASST_SHIFT,4,2            ## @MCXX_ASST_SHIFT
	.comm	_MCXX_HOLD_MASK,4,2             ## @MCXX_HOLD_MASK
	.comm	_MCXX_HOLD_SHIFT,4,2            ## @MCXX_HOLD_SHIFT
	.no_dead_strip	_pxa2xx_pcmcia_set_mcatt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa2xx_pcmcia_set_mcatt
_pxa2xx_pcmcia_set_mcatt:               ; @pxa2xx_pcmcia_set_mcatt
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x2
	bl	_pxa2xx_mcxx_setup
Lloh0:
	adrp	x8, _MCXX_SETUP_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCXX_SETUP_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _MCXX_SETUP_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MCXX_SETUP_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w22, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_pxa2xx_mcxx_asst
Lloh6:
	adrp	x8, _MCXX_ASST_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCXX_ASST_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh9:
	adrp	x9, _MCXX_ASST_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MCXX_ASST_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w22, w8, w22
	mov	x0, x20
	mov	x1, x19
	bl	_pxa2xx_mcxx_hold
Lloh12:
	adrp	x8, _MCXX_HOLD_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MCXX_HOLD_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh15:
	adrp	x9, _MCXX_HOLD_SHIFT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MCXX_HOLD_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w19, w22, w8
	mov	x0, x21
	bl	_MCATT
	mov	x1, x0
	mov	x0, x19
	bl	___raw_writel
	mov	w0, #0
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MCXX_SETUP_MASK,4,2            ; @MCXX_SETUP_MASK
	.comm	_MCXX_SETUP_SHIFT,4,2           ; @MCXX_SETUP_SHIFT
	.comm	_MCXX_ASST_MASK,4,2             ; @MCXX_ASST_MASK
	.comm	_MCXX_ASST_SHIFT,4,2            ; @MCXX_ASST_SHIFT
	.comm	_MCXX_HOLD_MASK,4,2             ; @MCXX_HOLD_MASK
	.comm	_MCXX_HOLD_SHIFT,4,2            ; @MCXX_HOLD_SHIFT
	.no_dead_strip	_pxa2xx_pcmcia_set_mcatt
.subsections_via_symbols
