	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chv_pinctrl_mmio_access_handler
_chv_pinctrl_mmio_access_handler:       ## @chv_pinctrl_mmio_access_handler
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%rcx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_chv_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_lock_irqsave
	movq	_ACPI_WRITE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	addq	(%r12), %r13
	movq	%r13, %rsi
	callq	_chv_writel
	jmp	LBB0_5
LBB0_2:
	movq	_ACPI_READ@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_4
## %bb.3:
	addq	(%r12), %r13
	movq	%r13, %rdi
	callq	_readl
	movq	%rax, (%r15)
	jmp	LBB0_5
LBB0_4:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	_chv_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_unlock_irqrestore
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_chv_lock,4,2                   ## @chv_lock
	.comm	_ACPI_WRITE,8,3                 ## @ACPI_WRITE
	.comm	_ACPI_READ,8,3                  ## @ACPI_READ
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.no_dead_strip	_chv_pinctrl_mmio_access_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chv_pinctrl_mmio_access_handler
_chv_pinctrl_mmio_access_handler:       ; @chv_pinctrl_mmio_access_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x5
	mov	x20, x3
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, _chv_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _chv_lock@GOTPAGEOFF]
	bl	_raw_spin_lock_irqsave
Lloh5:
	adrp	x8, _ACPI_WRITE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ACPI_WRITE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20]
	ldr	x8, [x22]
	add	x1, x8, x21
	bl	_chv_writel
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x8, _ACPI_READ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACPI_READ@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x22]
	add	x0, x8, x21
	bl	_readl
	str	x0, [x20]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
LBB0_5:
Lloh14:
	adrp	x0, _chv_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _chv_lock@GOTPAGEOFF]
	bl	_raw_spin_unlock_irqrestore
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_chv_lock,4,2                   ; @chv_lock
	.comm	_ACPI_WRITE,8,3                 ; @ACPI_WRITE
	.comm	_ACPI_READ,8,3                  ; @ACPI_READ
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.no_dead_strip	_chv_pinctrl_mmio_access_handler
.subsections_via_symbols
