	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_xdp
_setup_xdp:                             ## @setup_xdp
	.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	$24, %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, %r13
	callq	_netdev_priv
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_xdp_mtu_valid
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_bpf_prog_add
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.25:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	xorl	%r15d, %r15d
LBB0_5:
	movq	%r13, %rdi
	callq	_netif_running
	cmpl	$0, 16(%r14)
	sete	%bl
	testq	%r15, %r15
	setne	%r12b
	xorb	%r12b, %bl
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	callq	_dpaa2_eth_stop
LBB0_7:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	testb	%bl, %bl
	movl	$0, %ebx
	je	LBB0_8
LBB0_10:
	movq	%r14, %rdi
	addq	$16, %rdi
	movq	%r15, %rsi
	callq	_xchg
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %rdi
	callq	_bpf_prog_put
LBB0_12:
	cmpl	$0, (%r14)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_17
## %bb.13:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r15, %rsi
	callq	_xchg
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, %rdi
	callq	_bpf_prog_put
	jmp	LBB0_16
LBB0_17:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	callq	_dpaa2_eth_open
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_24
LBB0_19:
	xorl	%r13d, %r13d
	jmp	LBB0_24
LBB0_8:
	movb	%r12b, %bl
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_set_rx_mfl
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.9:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_update_rx_buffer_headroom
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_10
LBB0_20:
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_bpf_prog_sub
LBB0_22:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dpaa2_eth_open
	jmp	LBB0_24
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_24:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_setup_xdp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_xdp
_setup_xdp:                             ; @setup_xdp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	cbz	x21, LBB0_4
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_xdp_mtu_valid
	cbz	w0, LBB0_23
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_bpf_prog_add
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
	mov	x0, x19
	bl	_netif_running
	mov	x22, x0
	mov	x23, x20
	ldr	w8, [x23, #16]!
	cmp	w8, #0
	cset	w8, eq
	cmp	x21, #0
	cset	w25, ne
	eor	w24, w25, w8
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_dpaa2_eth_stop
LBB0_6:
	tbz	w24, #0, LBB0_17
LBB0_7:
	mov	x0, x23
	mov	x1, x21
	bl	_xchg
	cbz	x0, LBB0_9
; %bb.8:
	bl	_bpf_prog_put
LBB0_9:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.10:
	mov	x23, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.ge	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x23, lsl #3]
	mov	x1, x21
	bl	_xchg
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_bpf_prog_put
	b	LBB0_11
LBB0_14:
	cbz	w22, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_dpaa2_eth_open
	mov	x24, x0
	cbnz	w0, LBB0_24
LBB0_16:
	mov	w24, #0
	b	LBB0_24
LBB0_17:
	ldr	w1, [x19]
	mov	x0, x20
	mov	x2, x25
	bl	_set_rx_mfl
	mov	x24, x0
	cbnz	w0, LBB0_19
; %bb.18:
	mov	x0, x20
	mov	x1, x25
	bl	_update_rx_buffer_headroom
	mov	x24, x0
	cbz	w0, LBB0_7
LBB0_19:
	cbz	x21, LBB0_21
; %bb.20:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_bpf_prog_sub
LBB0_21:
	cbz	w22, LBB0_24
; %bb.22:
	mov	x0, x19
	bl	_dpaa2_eth_open
	b	LBB0_24
LBB0_23:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_24:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_setup_xdp
.subsections_via_symbols
