	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pl08x_ensure_on
_pl08x_ensure_on:                       ## @pl08x_ensure_on
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.5:
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, (%rax)
	movq	_PL080_CONFIG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jne	LBB0_2
## %bb.3:
	movq	_PL080_CONFIG@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_FTDMAC020_CSR@GOTPCREL(%rip), %rcx
LBB0_4:
	movq	(%rcx), %rsi
	addq	(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PL080_CONFIG_ENABLE,4,2        ## @PL080_CONFIG_ENABLE
	.comm	_FTDMAC020_CSR,8,3              ## @FTDMAC020_CSR
	.comm	_PL080_CONFIG,8,3               ## @PL080_CONFIG
	.no_dead_strip	_pl08x_ensure_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pl08x_ensure_on
_pl08x_ensure_on:                       ; @pl08x_ensure_on
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	ret
LBB0_2:
	ldr	x9, [x8]
Lloh0:
	adrp	x8, _PL080_CONFIG_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PL080_CONFIG_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x10, [x0]
Lloh3:
	adrp	x11, _PL080_CONFIG@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PL080_CONFIG@GOTPAGEOFF]
Lloh5:
	adrp	x12, _FTDMAC020_CSR@GOTPAGE
Lloh6:
	ldr	x12, [x12, _FTDMAC020_CSR@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x12, eq
	ldr	x9, [x9]
	add	x1, x9, x10
	mov	x0, x8
	b	_writel
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PL080_CONFIG_ENABLE,4,2        ; @PL080_CONFIG_ENABLE
	.comm	_FTDMAC020_CSR,8,3              ; @FTDMAC020_CSR
	.comm	_PL080_CONFIG,8,3               ; @PL080_CONFIG
	.no_dead_strip	_pl08x_ensure_on
.subsections_via_symbols
