	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mergeable_min_buf_len
_mergeable_min_buf_len:                 ## @mergeable_min_buf_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_virtqueue_get_vring_size
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_IP_MAX_MTU@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movq	_ETH_HLEN@GOTPCREL(%rip), %rdx
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	addl	(%rdx), %ecx
	leal	(%rsi,%rcx), %edi
	addl	$4, %edi
	movl	%eax, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %edi
	movl	$4, %esi
	callq	_max
                                        ## kill: def $eax killed $eax def $rax
	leal	-4(%rax), %edi
	movq	_GOOD_PACKET_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_max                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_MAX_MTU,4,2                 ## @IP_MAX_MTU
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.comm	_GOOD_PACKET_LEN,8,3            ## @GOOD_PACKET_LEN
	.no_dead_strip	_mergeable_min_buf_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mergeable_min_buf_len
_mergeable_min_buf_len:                 ; @mergeable_min_buf_len
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_virtqueue_get_vring_size
	mov	x1, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IP_MAX_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP_MAX_MTU@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
LBB0_3:
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _VLAN_HLEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _VLAN_HLEN@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	add	w8, w8, w9
	add	w8, w8, w10
	add	w0, w8, #4
	bl	_DIV_ROUND_UP
	mov	w1, #4
	bl	_max
	sub	w0, w0, #4
Lloh8:
	adrp	x8, _GOOD_PACKET_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GOOD_PACKET_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_max
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_MAX_MTU,4,2                 ; @IP_MAX_MTU
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.comm	_GOOD_PACKET_LEN,8,3            ; @GOOD_PACKET_LEN
	.no_dead_strip	_mergeable_min_buf_len
.subsections_via_symbols
