	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_csb_option
_push_csb_option:                       ## @push_csb_option
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	_NR_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rdi)
	callq	_port_info_get
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_num_registered_rings
	movslq	%eax, %r13
	leaq	(,%r13,8), %r12
	xorl	%edi, %edi
	testl	%r13d, %r13d
	setne	%dil
	callq	_assert
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_free
LBB0_3:
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r12, %rdx
	callq	_posix_memalign
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_NETMAP_REQ_OPT_CSB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%r15), %r12
	movl	%eax, 16(%r15)
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	shlq	$4, %r13
	addq	%rax, %r13
	movq	%r13, 8(%r15)
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_push_option
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_str.2(%rip), %rdi
	callq	_puts
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_EXCLUSIVE,4,2               ## @NR_EXCLUSIVE
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_NETMAP_REQ_OPT_CSB,4,2         ## @NETMAP_REQ_OPT_CSB
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Pushing option NETMAP_REQ_OPT_CSB"

L_str.2:                                ## @str.2
	.asciz	"Failed to allocate CSB memory"

	.no_dead_strip	_push_csb_option
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_csb_option
_push_csb_option:                       ; @push_csb_option
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NR_EXCLUSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NR_EXCLUSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	bl	_port_info_get
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_num_registered_rings
	mov	x22, x0
	sbfiz	x23, x22, #3, #32
	cmp	w0, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x19]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_free
LBB0_3:
	mov	x0, x19
	mov	w1, #4
	mov	x2, x23
	bl	_posix_memalign
	cbnz	w0, LBB0_6
; %bb.4:
	sxtw	x23, w22
	mov	x0, x21
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh3:
	adrp	x8, _NETMAP_REQ_OPT_CSB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETMAP_REQ_OPT_CSB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x22, x21
	str	w8, [x22, #16]!
	ldr	x8, [x19]
	add	x9, x8, x23, lsl #4
	stp	x8, x9, [x21]
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x22
	mov	x1, x19
	bl	_push_option
LBB0_5:
	mov	x0, x20
	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
LBB0_6:
Lloh8:
	adrp	x0, l_str.2@PAGE
Lloh9:
	add	x0, x0, l_str.2@PAGEOFF
	bl	_puts
Lloh10:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_EXCLUSIVE,4,2               ; @NR_EXCLUSIVE
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_NETMAP_REQ_OPT_CSB,4,2         ; @NETMAP_REQ_OPT_CSB
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Pushing option NETMAP_REQ_OPT_CSB"

l_str.2:                                ; @str.2
	.asciz	"Failed to allocate CSB memory"

	.no_dead_strip	_push_csb_option
.subsections_via_symbols
