	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_set_coalesce
_ql_set_coalesce:                       ## @ql_set_coalesce
	.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	%rsi, %rbx
	callq	_netdev_priv
	movl	(%rbx), %edx
	movl	(%rax), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	cmpl	%esi, %edx
	jg	LBB0_1
## %bb.2:
	movq	8(%rbx), %r9
	movq	_MAX_INTER_FRAME_WAIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %r9
	jg	LBB0_1
## %bb.3:
	movl	16(%rbx), %r8d
	movl	4(%rax), %esi
	movl	%esi, %edi
	shrl	$31, %edi
	addl	%esi, %edi
	sarl	%edi
	cmpl	%edi, %r8d
	jg	LBB0_1
## %bb.4:
	movq	24(%rbx), %rbx
	cmpq	%rcx, %rbx
	jle	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
LBB0_9:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	cmpl	%edx, 8(%rax)
	jne	LBB0_10
## %bb.6:
	cmpl	%r8d, 12(%rax)
	jne	LBB0_10
## %bb.7:
	cmpq	%r9, 16(%rax)
	jne	LBB0_10
## %bb.8:
	xorl	%ecx, %ecx
	cmpq	%rbx, 24(%rax)
	je	LBB0_9
LBB0_10:
	movl	%edx, 8(%rax)
	movl	%r8d, 12(%rax)
	movq	%r9, 16(%rax)
	movq	%rbx, 24(%rax)
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ql_update_ring_coalescing      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAX_INTER_FRAME_WAIT,8,3       ## @MAX_INTER_FRAME_WAIT
	.no_dead_strip	_ql_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_set_coalesce
_ql_set_coalesce:                       ; @ql_set_coalesce
	.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, x1
	bl	_netdev_priv
	ldr	w8, [x19]
	ldr	w9, [x0]
	cmp	w9, #0
	cinc	w9, w9, lt
	cmp	w8, w9, asr #1
	b.gt	LBB0_4
; %bb.1:
	ldr	x9, [x19, #8]
Lloh0:
	adrp	x10, _MAX_INTER_FRAME_WAIT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_INTER_FRAME_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x10]
	cmp	x9, x12
	b.gt	LBB0_4
; %bb.2:
	ldr	w10, [x19, #16]
	ldr	w11, [x0, #4]
	cmp	w11, #0
	cinc	w11, w11, lt
	cmp	w10, w11, asr #1
	b.gt	LBB0_4
; %bb.3:
	ldr	x11, [x19, #24]
	cmp	x11, x12
	b.le	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w12, [x0, #8]
	cmp	w12, w8
	b.ne	LBB0_11
; %bb.7:
	ldr	w12, [x0, #12]
	cmp	w12, w10
	b.ne	LBB0_11
; %bb.8:
	ldr	x12, [x0, #16]
	cmp	x12, x9
	b.ne	LBB0_11
; %bb.9:
	ldr	x12, [x0, #24]
	cmp	x12, x11
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #0
	b	LBB0_5
LBB0_11:
	stp	w8, w10, [x0, #8]
	stp	x9, x11, [x0, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ql_update_ring_coalescing
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAX_INTER_FRAME_WAIT,8,3       ; @MAX_INTER_FRAME_WAIT
	.no_dead_strip	_ql_set_coalesce
.subsections_via_symbols
