	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_rxd_buffer_size
_set_rxd_buffer_size:                   ## @set_rxd_buffer_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	_RXD_MODE_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movslq	%edx, %rdi
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	callq	_SET_BUFFER0_SIZE_1
	movl	%eax, (%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	_RXD_MODE_3B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%rdi), %r14
	movq	_BUF0_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SET_BUFFER0_SIZE_3
	movl	%eax, (%rbx)
	movl	$1, %edi
	callq	_SET_BUFFER1_SIZE_3
	orl	%eax, (%rbx)
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_SET_BUFFER2_SIZE_3
	orl	%eax, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXD_MODE_1,8,3                 ## @RXD_MODE_1
	.comm	_NET_IP_ALIGN,8,3               ## @NET_IP_ALIGN
	.comm	_RXD_MODE_3B,8,3                ## @RXD_MODE_3B
	.comm	_BUF0_LEN,4,2                   ## @BUF0_LEN
	.no_dead_strip	_set_rxd_buffer_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_rxd_buffer_size
_set_rxd_buffer_size:                   ; @set_rxd_buffer_size
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RXD_MODE_1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RXD_MODE_1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	sxtw	x8, w2
Lloh3:
	adrp	x9, _NET_IP_ALIGN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x0, x8, x9
	bl	_SET_BUFFER0_SIZE_1
	str	w0, [x19]
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x9, _RXD_MODE_3B@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RXD_MODE_3B@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x20, [x0, #8]
Lloh9:
	adrp	x8, _BUF0_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BUF0_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_SET_BUFFER0_SIZE_3
	str	w0, [x19]
	mov	w0, #1
	bl	_SET_BUFFER1_SIZE_3
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_SET_BUFFER2_SIZE_3
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RXD_MODE_1,8,3                 ; @RXD_MODE_1
	.comm	_NET_IP_ALIGN,8,3               ; @NET_IP_ALIGN
	.comm	_RXD_MODE_3B,8,3                ; @RXD_MODE_3B
	.comm	_BUF0_LEN,4,2                   ; @BUF0_LEN
	.no_dead_strip	_set_rxd_buffer_size
.subsections_via_symbols
