	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sta2x11_apb_soc_regs_readable_reg
_sta2x11_apb_soc_regs_readable_reg:     ## @sta2x11_apb_soc_regs_readable_reg
	.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
	movq	_PCIE_SoC_INT_ROUTER_STATUS3_REG@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpl	%esi, (%rax)
	jae	LBB0_5
## %bb.1:
	movl	%esi, %ebx
	movq	_DMA_IP_CTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SPARE3_RESERVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	___reg_within_range
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	_MASTER_LOCK_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SYSTEM_CONFIG_STATUS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	___reg_within_range
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_MSP_CLK_CTRL_REG@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_COMPENSATION_REG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TEST_CTL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	___reg_within_range
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIE_SoC_INT_ROUTER_STATUS3_REG,4,2 ## @PCIE_SoC_INT_ROUTER_STATUS3_REG
	.comm	_DMA_IP_CTRL_REG,4,2            ## @DMA_IP_CTRL_REG
	.comm	_SPARE3_RESERVED,4,2            ## @SPARE3_RESERVED
	.comm	_MASTER_LOCK_REG,4,2            ## @MASTER_LOCK_REG
	.comm	_SYSTEM_CONFIG_STATUS_REG,4,2   ## @SYSTEM_CONFIG_STATUS_REG
	.comm	_MSP_CLK_CTRL_REG,4,2           ## @MSP_CLK_CTRL_REG
	.comm	_COMPENSATION_REG1,4,2          ## @COMPENSATION_REG1
	.comm	_TEST_CTL_REG,4,2               ## @TEST_CTL_REG
	.no_dead_strip	_sta2x11_apb_soc_regs_readable_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sta2x11_apb_soc_regs_readable_reg
_sta2x11_apb_soc_regs_readable_reg:     ; @sta2x11_apb_soc_regs_readable_reg
	.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
Lloh0:
	adrp	x8, _PCIE_SoC_INT_ROUTER_STATUS3_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIE_SoC_INT_ROUTER_STATUS3_REG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.hs	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh3:
	adrp	x8, _DMA_IP_CTRL_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_IP_CTRL_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SPARE3_RESERVED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPARE3_RESERVED@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___reg_within_range
	cbnz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _MASTER_LOCK_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MASTER_LOCK_REG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SYSTEM_CONFIG_STATUS_REG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SYSTEM_CONFIG_STATUS_REG@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___reg_within_range
Lloh15:
	adrp	x8, _MSP_CLK_CTRL_REG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSP_CLK_CTRL_REG@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w8, w19, #4, eq
	b.ne	LBB0_5
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh18:
	adrp	x8, _COMPENSATION_REG1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _COMPENSATION_REG1@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _TEST_CTL_REG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TEST_CTL_REG@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___reg_within_range
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIE_SoC_INT_ROUTER_STATUS3_REG,4,2 ; @PCIE_SoC_INT_ROUTER_STATUS3_REG
	.comm	_DMA_IP_CTRL_REG,4,2            ; @DMA_IP_CTRL_REG
	.comm	_SPARE3_RESERVED,4,2            ; @SPARE3_RESERVED
	.comm	_MASTER_LOCK_REG,4,2            ; @MASTER_LOCK_REG
	.comm	_SYSTEM_CONFIG_STATUS_REG,4,2   ; @SYSTEM_CONFIG_STATUS_REG
	.comm	_MSP_CLK_CTRL_REG,4,2           ; @MSP_CLK_CTRL_REG
	.comm	_COMPENSATION_REG1,4,2          ; @COMPENSATION_REG1
	.comm	_TEST_CTL_REG,4,2               ; @TEST_CTL_REG
	.no_dead_strip	_sta2x11_apb_soc_regs_readable_reg
.subsections_via_symbols
