	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_read_pcie_cfg4              ## -- Begin function t4_read_pcie_cfg4
	.p2align	4, 0x90
_t4_read_pcie_cfg4:                     ## @t4_read_pcie_cfg4
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_FW_LDST_ADDRSPC_FUNC_PCIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_LDST_CMD_ADDRSPACE_V
	movl	%eax, %ebx
	movq	_FW_LDST_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rcx
	movq	_FW_CMD_READ_F@GOTPCREL(%rip), %rdx
	orl	%eax, %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, -48(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, 32(%rsp)
	movups	-80(%rbp), %xmm0
	movups	-64(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_FW_LEN16
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -56(%rbp)
	movl	$1, %edi
	callq	_FW_LDST_CMD_NACCESS_V
	movl	%eax, -64(%rbp)
	movq	_FW_LDST_CMD_LC_F@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	4(%r12), %edi
	callq	_FW_LDST_CMD_FN_V
	orl	%ebx, %eax
	movl	%eax, -80(%rbp)
	movl	%r14d, -76(%rbp)
	movl	(%r12), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$40, %ecx
	movq	%r15, %r8
	callq	_t4_wr_mbox
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_t4_hw_pci_read_cfg4
	movl	-36(%rbp), %eax
	jmp	LBB0_3
LBB0_1:
	movq	-72(%rbp), %rax
	movl	(%rax), %edi
	callq	_be32_to_cpu
LBB0_3:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_LDST_ADDRSPC_FUNC_PCIE,4,2  ## @FW_LDST_ADDRSPC_FUNC_PCIE
	.comm	_FW_LDST_CMD,4,2                ## @FW_LDST_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ## @FW_CMD_REQUEST_F
	.comm	_FW_CMD_READ_F,4,2              ## @FW_CMD_READ_F
	.comm	_FW_LDST_CMD_LC_F,4,2           ## @FW_LDST_CMD_LC_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_read_pcie_cfg4              ; -- Begin function t4_read_pcie_cfg4
	.p2align	2
_t4_read_pcie_cfg4:                     ; @t4_read_pcie_cfg4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x1
	mov	x20, x0
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh0:
	adrp	x8, _FW_LDST_ADDRSPC_FUNC_PCIE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_LDST_ADDRSPC_FUNC_PCIE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FW_LDST_CMD_ADDRSPACE_V
	mov	x21, x0
Lloh3:
	adrp	x8, _FW_LDST_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_LDST_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh6:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _FW_CMD_READ_F@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FW_CMD_READ_F@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w10, w0, w21
	orr	w8, w10, w8
	orr	w0, w8, w9
	bl	_cpu_to_be32
	str	x0, [sp, #72]
	ldur	q0, [sp, #40]
	ldur	q1, [sp, #56]
	stp	q0, q1, [sp]
	str	x0, [sp, #32]
	mov	x0, sp
	bl	_FW_LEN16
	bl	_cpu_to_be32
	str	x0, [sp, #64]
	mov	w0, #1
	bl	_FW_LDST_CMD_NACCESS_V
	str	w0, [sp, #56]
Lloh12:
	adrp	x8, _FW_LDST_CMD_LC_F@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FW_LDST_CMD_LC_F@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	ldr	w0, [x20, #4]
	bl	_FW_LDST_CMD_FN_V
	orr	w8, w0, w21
	stp	w8, w19, [sp, #40]
	ldr	w1, [x20]
	add	x2, sp, #40
	add	x4, sp, #40
	mov	x0, x20
	mov	w3, #40
	bl	_t4_wr_mbox
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_t4_hw_pci_read_cfg4
	ldr	w0, [sp]
	b	LBB0_3
LBB0_2:
	ldr	x8, [sp, #48]
	ldr	w0, [x8]
	bl	_be32_to_cpu
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.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	_FW_LDST_ADDRSPC_FUNC_PCIE,4,2  ; @FW_LDST_ADDRSPC_FUNC_PCIE
	.comm	_FW_LDST_CMD,4,2                ; @FW_LDST_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ; @FW_CMD_REQUEST_F
	.comm	_FW_CMD_READ_F,4,2              ; @FW_CMD_READ_F
	.comm	_FW_LDST_CMD_LC_F,4,2           ; @FW_LDST_CMD_LC_F
.subsections_via_symbols
