	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_rx_flow
_setup_rx_flow:                         ## @setup_rx_flow
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %edx
	movl	12(%rdi), %edi
	movq	_DPNI_QUEUE_RX@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	8(%rsi), %r9d
	leaq	-56(%rbp), %rax
	leaq	-80(%rbp), %r13
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	pushq	%rax
	pushq	%r13
	callq	_dpni_get_queue
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_2:
	movl	-56(%rbp), %eax
	movl	%eax, 12(%r15)
	movq	(%r15), %rax
	movl	4(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_DPNI_DEST_DPCON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	$1, -72(%rbp)
	movq	%r15, -80(%rbp)
	movl	8(%rbx), %edx
	movl	12(%rbx), %edi
	movl	(%r14), %ecx
	movl	8(%r15), %r9d
	movq	_DPNI_QUEUE_OPT_USER_CTX@GOTPCREL(%rip), %r8
	movq	_DPNI_QUEUE_OPT_DEST@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	orl	(%r8), %eax
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	pushq	%r13
	pushq	%rax
	callq	_dpni_set_queue
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_4:
	movq	(%r15), %rdi
	movq	(%rbx), %rsi
	movl	8(%r15), %edx
	callq	_xdp_rxq_info_reg
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_6:
	movq	(%r15), %rdi
	movq	_MEM_TYPE_PAGE_ORDER0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_xdp_rxq_info_reg_mem_model
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %r12d
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
LBB0_9:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPNI_QUEUE_RX,4,2              ## @DPNI_QUEUE_RX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dpni_get_queue(RX) failed\n"

	.comm	_DPNI_DEST_DPCON,4,2            ## @DPNI_DEST_DPCON
	.comm	_DPNI_QUEUE_OPT_USER_CTX,4,2    ## @DPNI_QUEUE_OPT_USER_CTX
	.comm	_DPNI_QUEUE_OPT_DEST,4,2        ## @DPNI_QUEUE_OPT_DEST
L_.str.1:                               ## @.str.1
	.asciz	"dpni_set_queue(RX) failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"xdp_rxq_info_reg failed\n"

	.comm	_MEM_TYPE_PAGE_ORDER0,4,2       ## @MEM_TYPE_PAGE_ORDER0
L_.str.3:                               ## @.str.3
	.asciz	"xdp_rxq_info_reg_mem_model failed\n"

	.no_dead_strip	_setup_rx_flow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_rx_flow
_setup_rx_flow:                         ; @setup_rx_flow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	w0, [x0, #12]
	ldr	w2, [x21, #8]
Lloh0:
	adrp	x23, _DPNI_QUEUE_RX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DPNI_QUEUE_RX@GOTPAGEOFF]
	ldr	w3, [x23]
	ldr	w5, [x1, #8]
	add	x6, sp, #8
	mov	x7, sp
	mov	w1, #0
	mov	w4, #0
	bl	_dpni_get_queue
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	w8, [sp]
	str	w8, [x20, #12]
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
	str	w8, [sp, #24]
Lloh4:
	adrp	x8, _DPNI_DEST_DPCON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DPNI_DEST_DPCON@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [sp, #16]
	str	x20, [sp, #8]
	ldp	w2, w0, [x21, #8]
	ldr	w3, [x23]
Lloh7:
	adrp	x8, _DPNI_QUEUE_OPT_USER_CTX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DPNI_QUEUE_OPT_USER_CTX@GOTPAGEOFF]
	ldr	w5, [x20, #8]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _DPNI_QUEUE_OPT_DEST@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DPNI_QUEUE_OPT_DEST@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w6, w9, w8
	add	x7, sp, #8
	mov	w1, #0
	mov	w4, #0
	bl	_dpni_set_queue
	cbz	w0, LBB0_4
; %bb.3:
	mov	x22, x0
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldr	x0, [x20]
	ldr	x1, [x21]
	ldr	w2, [x20, #8]
	bl	_xdp_rxq_info_reg
	cbz	w0, LBB0_6
; %bb.5:
	mov	x22, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
	ldr	x0, [x20]
Lloh17:
	adrp	x8, _MEM_TYPE_PAGE_ORDER0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MEM_TYPE_PAGE_ORDER0@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_xdp_rxq_info_reg_mem_model
	mov	x22, x0
	cbz	w0, LBB0_9
; %bb.7:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
LBB0_9:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DPNI_QUEUE_RX,4,2              ; @DPNI_QUEUE_RX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dpni_get_queue(RX) failed\n"

	.comm	_DPNI_DEST_DPCON,4,2            ; @DPNI_DEST_DPCON
	.comm	_DPNI_QUEUE_OPT_USER_CTX,4,2    ; @DPNI_QUEUE_OPT_USER_CTX
	.comm	_DPNI_QUEUE_OPT_DEST,4,2        ; @DPNI_QUEUE_OPT_DEST
l_.str.1:                               ; @.str.1
	.asciz	"dpni_set_queue(RX) failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"xdp_rxq_info_reg failed\n"

	.comm	_MEM_TYPE_PAGE_ORDER0,4,2       ; @MEM_TYPE_PAGE_ORDER0
l_.str.3:                               ; @.str.3
	.asciz	"xdp_rxq_info_reg_mem_model failed\n"

	.no_dead_strip	_setup_rx_flow
.subsections_via_symbols
