	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pipemux_strap_read
_pipemux_strap_read:                    ## @pipemux_strap_read
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_PCIE_PIPEMUX_CFG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_PCIE_PIPEMUX_MASK@GOTPCREL(%rip), %r14
	andl	(%r14), %eax
	movl	%eax, -20(%rbp)
	movq	_PCIE_PIPEMUX_SELECT_STRAP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	_CDRU_STRAP_DATA_LSW_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	movq	_PCIE_PIPEMUX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	-20(%rbp), %eax
	sarl	%cl, %eax
	andl	(%r14), %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIE_PIPEMUX_CFG_OFFSET,8,3    ## @PCIE_PIPEMUX_CFG_OFFSET
	.comm	_PCIE_PIPEMUX_MASK,4,2          ## @PCIE_PIPEMUX_MASK
	.comm	_PCIE_PIPEMUX_SELECT_STRAP,4,2  ## @PCIE_PIPEMUX_SELECT_STRAP
	.comm	_CDRU_STRAP_DATA_LSW_OFFSET,4,2 ## @CDRU_STRAP_DATA_LSW_OFFSET
	.comm	_PCIE_PIPEMUX_SHIFT,4,2         ## @PCIE_PIPEMUX_SHIFT
	.no_dead_strip	_pipemux_strap_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pipemux_strap_read
_pipemux_strap_read:                    ; @pipemux_strap_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _PCIE_PIPEMUX_CFG_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCIE_PIPEMUX_CFG_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh3:
	adrp	x20, _PCIE_PIPEMUX_MASK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PCIE_PIPEMUX_MASK@GOTPAGEOFF]
	ldr	w8, [x20]
	and	w0, w8, w0
	str	w0, [sp, #12]
Lloh5:
	adrp	x8, _PCIE_PIPEMUX_SELECT_STRAP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCIE_PIPEMUX_SELECT_STRAP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _CDRU_STRAP_DATA_LSW_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CDRU_STRAP_DATA_LSW_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
Lloh11:
	adrp	x8, _PCIE_PIPEMUX_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCIE_PIPEMUX_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	asr	w8, w9, w8
	ldr	w9, [x20]
	and	w0, w9, w8
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIE_PIPEMUX_CFG_OFFSET,8,3    ; @PCIE_PIPEMUX_CFG_OFFSET
	.comm	_PCIE_PIPEMUX_MASK,4,2          ; @PCIE_PIPEMUX_MASK
	.comm	_PCIE_PIPEMUX_SELECT_STRAP,4,2  ; @PCIE_PIPEMUX_SELECT_STRAP
	.comm	_CDRU_STRAP_DATA_LSW_OFFSET,4,2 ; @CDRU_STRAP_DATA_LSW_OFFSET
	.comm	_PCIE_PIPEMUX_SHIFT,4,2         ; @PCIE_PIPEMUX_SHIFT
	.no_dead_strip	_pipemux_strap_read
.subsections_via_symbols
