	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp6000_explicit_do
_nfp6000_explicit_do:                   ## @nfp6000_explicit_do
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	callq	_nfp_cpp_explicit_priv
	cmpq	$0, 56(%r13)
	je	LBB0_1
## %bb.2:
	movb	(%r13), %cl
	movl	$1, %edi
	shll	%cl, %edi
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	movq	24(%rax), %rsi
	cmpq	$0, 48(%r13)
	je	LBB0_5
## %bb.4:
	movb	4(%r13), %cl
	btsl	%ecx, %edi
LBB0_5:
	movq	8(%r13), %rcx
	movq	16(%rsi), %r12
	movq	%r12, %rdx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	cmpq	%r12, %rcx
	jne	LBB0_17
## %bb.7:
	movq	%rcx, %rdx
LBB0_8:
	movl	16(%rax), %ecx
	shll	$2, %ecx
	addl	20(%rax), %ecx
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	addq	24(%rsi), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_17:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_9:
	movq	24(%r13), %rcx
	testq	%rcx, %rcx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.10:
	cmpq	%r12, %rcx
	jne	LBB0_11
LBB0_12:
	movl	16(%rax), %edx
	movl	20(%rax), %ecx
	shll	$9, %edx
	shll	$7, %ecx
	leal	(%rdx,%rcx), %eax
	addl	$4096, %eax                     ## imm = 0x1000
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_13
LBB0_11:
	movl	32(%r13), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
LBB0_13:
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType
	movl	%eax, %ebx
	movl	44(%r13), %edi
	callq	_NFP_CPP_ID_TOKEN_of
	movl	%eax, %edi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR0_Token
	movl	%eax, %r14d
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	sarl	$16, %r15d
	movl	%r15d, %edi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR0_Address
	movl	%eax, %r15d
	orl	%ebx, %r15d
	orl	%r14d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR1_DataMaster
	movl	%eax, %r14d
	orl	%ebx, %r14d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR1_DataRef
	orl	%r14d, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	44(%r13), %edi
	callq	_NFP_CPP_ID_TARGET_of
	movl	%eax, %edi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2_Target
	movl	%eax, %r14d
	movl	44(%r13), %edi
	callq	_NFP_CPP_ID_ACTION_of
	movl	%eax, %edi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2_Action
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	40(%r13), %edi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2_Length
	movl	%eax, %r14d
	movl	36(%r13), %edi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2_ByteMask
	movl	%eax, %r12d
	orl	%r14d, %r12d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2_SignalMaster
	movl	%eax, %r13d
	orl	%r12d, %r13d
	orl	%ebx, %r13d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.14:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR0
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	8(%r12), %rbx
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR1
	addq	%rax, %rbx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_writel
	movq	8(%r12), %rbx
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2
	addq	%rax, %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_writel
	movq	8(%r12), %rbx
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR0
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movq	8(%r12), %rbx
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR1
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movq	8(%r12), %rbx
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	jmp	LBB0_16
LBB0_15:
	movl	(%r12), %ebx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR0
	leaq	1024(%rax), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	callq	_pci_write_config_dword
	movl	(%r12), %ebx
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR1
	leaq	1024(%rax), %rsi
	movl	%ebx, %edi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_pci_write_config_dword
	movl	(%r12), %ebx
	movl	16(%r14), %edi
	movl	20(%r14), %esi
	callq	_NFP_PCIE_BAR_EXPLICIT_BAR2
	leaq	1024(%rax), %rsi
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	_pci_write_config_dword
LBB0_16:
	movb	(%r14), %cl
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	andl	-60(%rbp), %eax                 ## 4-byte Folded Reload
	movslq	%eax, %rdi
	addq	8(%r14), %rdi
	callq	_readb
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nfp6000_explicit_do
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp6000_explicit_do
_nfp6000_explicit_do:                   ; @nfp6000_explicit_do
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x22, x1
	bl	_nfp_cpp_explicit_priv
	mov	x20, x0
	ldr	x28, [x0, #24]
	ldr	x8, [x22, #56]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	w8, [x22]
	mov	w9, #1
	lsl	w21, w9, w8
	ldr	x8, [x22, #48]
	cbz	x8, LBB0_3
LBB0_2:
	ldr	w8, [x22, #4]
	mov	w9, #1
	lsl	w8, w9, w8
	orr	w21, w8, w21
LBB0_3:
	ldr	x23, [x22, #8]
	ldr	x24, [x28, #16]
	mov	x0, x24
	cbz	x23, LBB0_6
; %bb.4:
	cmp	x23, x24
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x23
LBB0_6:
	ldr	x8, [x28, #24]
	ldp	w9, w10, [x20, #16]
	add	w9, w10, w9, lsl #2
	lsl	w9, w9, #1
	add	x26, x8, w9, sxtw
	mov	x23, x0
	ldr	x8, [x22, #24]
	cbnz	x8, LBB0_9
	b	LBB0_10
LBB0_7:
	mov	w21, #0
	ldr	x8, [x22, #48]
	cbnz	x8, LBB0_2
	b	LBB0_3
LBB0_8:
	ldr	x26, [x22, #16]
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_10
LBB0_9:
	cmp	x8, x24
	b.ne	LBB0_11
LBB0_10:
	ldp	w8, w9, [x20, #16]
	lsl	w8, w8, #9
	add	w8, w8, w9, lsl #7
	add	w27, w8, #1, lsl #12            ; =4096
	b	LBB0_12
LBB0_11:
	ldr	w27, [x22, #32]
	mov	x24, x8
LBB0_12:
	mov	x0, x21
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType
	mov	x25, x0
	ldr	w0, [x22, #44]
	bl	_NFP_CPP_ID_TOKEN_of
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR0_Token
	orr	w25, w0, w25
	asr	w0, w19, #16
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR0_Address
	orr	w25, w25, w0
	mov	x0, x26
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef
	mov	x26, x0
	mov	x0, x24
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR1_DataMaster
	orr	w24, w0, w26
	mov	x0, x27
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR1_DataRef
	orr	w24, w24, w0
	ldr	w0, [x22, #44]
	bl	_NFP_CPP_ID_TARGET_of
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2_Target
	mov	x26, x0
	ldr	w0, [x22, #44]
	bl	_NFP_CPP_ID_ACTION_of
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2_Action
	orr	w26, w0, w26
	ldr	w0, [x22, #40]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2_Length
	orr	w26, w26, w0
	ldr	w0, [x22, #36]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2_ByteMask
	orr	w22, w26, w0
	mov	x0, x23
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2_SignalMaster
	orr	w22, w22, w0
	ldr	x23, [x28, #8]
	cbz	x23, LBB0_14
; %bb.13:
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR0
	add	x1, x0, x23
	mov	x0, x25
	bl	_writel
	ldr	x23, [x28, #8]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR1
	add	x1, x0, x23
	mov	x0, x24
	bl	_writel
	ldr	x23, [x28, #8]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2
	add	x1, x0, x23
	mov	x0, x22
	bl	_writel
	ldr	x22, [x28, #8]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR0
	add	x0, x0, x22
	bl	_readl
	ldr	x22, [x28, #8]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR1
	add	x0, x0, x22
	bl	_readl
	ldr	x22, [x28, #8]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2
	add	x0, x0, x22
	bl	_readl
	b	LBB0_15
LBB0_14:
	ldr	w23, [x28]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR0
	add	x1, x0, #1024
	mov	x0, x23
	mov	x2, x25
	bl	_pci_write_config_dword
	ldr	w23, [x28]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR1
	add	x1, x0, #1024
	mov	x0, x23
	mov	x2, x24
	bl	_pci_write_config_dword
	ldr	w23, [x28]
	ldp	w0, w1, [x20, #16]
	bl	_NFP_PCIE_BAR_EXPLICIT_BAR2
	add	x1, x0, #1024
	mov	x0, x23
	mov	x2, x22
	bl	_pci_write_config_dword
LBB0_15:
	ldr	x8, [x20, #8]
	ldr	w9, [x20]
	mov	w10, #-1
	lsl	w9, w10, w9
	bic	w9, w19, w9
	add	x0, x8, w9, sxtw
	bl	_readb
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nfp6000_explicit_do
.subsections_via_symbols
