	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_tx_qlen
_set_tx_qlen:                           ## @set_tx_qlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movq	_agg_buf_sz@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	(%rcx), %rcx
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	addq	%rcx, %rdx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rdx, %rcx
	addq	$4, %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_agg_buf_sz,4,2                 ## @agg_buf_sz
	.comm	_VLAN_ETH_HLEN,4,2              ## @VLAN_ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.no_dead_strip	_set_tx_qlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_tx_qlen
_set_tx_qlen:                           ; @set_tx_qlen
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _agg_buf_sz@GOTPAGE
Lloh1:
	ldr	x9, [x9, _agg_buf_sz@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	ldrsw	x8, [x8]
Lloh3:
	adrp	x10, _VLAN_ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x10]
Lloh6:
	adrp	x11, _ETH_FCS_LEN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh8:
	ldrsw	x11, [x11]
	add	x8, x10, x8
	add	x8, x8, x11
	add	x8, x8, #4
	udiv	x8, x9, x8
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_agg_buf_sz,4,2                 ; @agg_buf_sz
	.comm	_VLAN_ETH_HLEN,4,2              ; @VLAN_ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.no_dead_strip	_set_tx_qlen
.subsections_via_symbols
