	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function octnet_prepare_pci_cmd_o3
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_octnet_prepare_pci_cmd_o3:             ## @octnet_prepare_pci_cmd_o3
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rcx
	movl	20(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	_LIO_PCICMD_O3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	cmpl	$0, 32(%r14)
	je	LBB0_2
## %bb.1:
	movl	$1, 8(%rbx)
LBB0_2:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, 4(%rbx)
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rcx
	movl	16(%rcx), %ecx
	movl	%ecx, 44(%rbx)
	testq	%r12, %r12
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edi
	callq	_LIO_DATA
	movq	%rax, %r12
LBB0_4:
	movq	%r12, 36(%rbx)
	movq	_ORDERED_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movabsq	$34359738375, %rax              ## imm = 0x800000007
	movq	%rax, 20(%rbx)
	movq	_OPCODE_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_OPCODE_NIC_NW_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	8(%r14), %rax
	movq	%rax, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIO_PCICMD_O3,4,2              ## @LIO_PCICMD_O3
	.comm	_ORDERED_TAG,4,2                ## @ORDERED_TAG
	.comm	_OPCODE_NIC,4,2                 ## @OPCODE_NIC
	.comm	_OPCODE_NIC_NW_DATA,4,2         ## @OPCODE_NIC_NW_DATA
	.no_dead_strip	_octnet_prepare_pci_cmd_o3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function octnet_prepare_pci_cmd_o3
lCPI0_0:
	.long	7                               ; 0x7
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_octnet_prepare_pci_cmd_o3:             ; @octnet_prepare_pci_cmd_o3
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x9, [x8, x9, lsl #3]
	ldr	w9, [x9, #20]
Lloh0:
	adrp	x10, _LIO_PCICMD_O3@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LIO_PCICMD_O3@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #16]
	ldr	w9, [x20, #32]
	cbz	w9, LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x19, #8]
LBB0_2:
	movi.4s	v0, #1
	stur	q0, [x19, #4]
	ldr	x9, [x20]
	ldr	x9, [x8, x9, lsl #3]
	ldr	w9, [x9, #16]
	str	w9, [x19, #44]
	cbnz	x22, LBB0_4
; %bb.3:
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #8]
	bl	_LIO_DATA
	mov	x22, x0
LBB0_4:
	stur	x22, [x19, #36]
Lloh3:
	adrp	x8, _ORDERED_TAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ORDERED_TAG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
	str	w8, [x19, #28]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #20]
Lloh8:
	adrp	x8, _OPCODE_NIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OPCODE_NIC@GOTPAGEOFF]
Lloh10:
	adrp	x9, _OPCODE_NIC_NW_DATA@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OPCODE_NIC_NW_DATA@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	ldr	x8, [x20, #8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LIO_PCICMD_O3,4,2              ; @LIO_PCICMD_O3
	.comm	_ORDERED_TAG,4,2                ; @ORDERED_TAG
	.comm	_OPCODE_NIC,4,2                 ; @OPCODE_NIC
	.comm	_OPCODE_NIC_NW_DATA,4,2         ; @OPCODE_NIC_NW_DATA
	.no_dead_strip	_octnet_prepare_pci_cmd_o3
.subsections_via_symbols
