	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function octeon_setup_droq
_octeon_setup_droq:                     ## @octeon_setup_droq
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_dbg
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movq	%r15, %r8
	callq	_octeon_create_droq
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	cmpl	$1, %r15d
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_dbg
	xorl	%r15d, %r15d
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_octeon_set_droq_pkt_op
	movq	(%rbx), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_writel
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Creating Droq: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Using default droq %d\n"

	.no_dead_strip	_octeon_setup_droq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function octeon_setup_droq
_octeon_setup_droq:                     ; @octeon_setup_droq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	bl	_octeon_create_droq
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	cmp	w21, #1
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	mov	w21, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_octeon_set_droq_pkt_op
	ldr	x8, [x20]
	ldr	x8, [x8, w19, sxtw #3]
	ldp	w1, w0, [x8]
	bl	_writel
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Creating Droq: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Using default droq %d\n"

	.no_dead_strip	_octeon_setup_droq
.subsections_via_symbols
