	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_set_tx_vect
_ql_set_tx_vect:                        ## @ql_set_tx_vect
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	cltd
	idivl	4(%rdi)
	movl	%eax, %r14d
	movq	_QL_MSIX_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movslq	8(%rbx), %rax
	movslq	12(%rbx), %rdx
	cmpl	%edx, %eax
	jge	LBB0_10
## %bb.4:
	movq	16(%rbx), %r10
	movq	%rdx, %r8
	subq	%rax, %r8
	movq	%rax, %rdi
	notq	%rdi
	xorl	%esi, %esi
	addq	%rdx, %rdi
	jne	LBB0_6
## %bb.5:
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_1:
	movl	12(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_10
## %bb.2:
	movq	16(%rbx), %rdi
	shlq	$2, %rsi
	callq	___bzero
	jmp	LBB0_10
LBB0_6:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	movl	$1, %r9d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rdx), %ebx
	xorl	%ecx, %ecx
	cmpl	%r14d, %edx
	sete	%cl
	cmovel	%r9d, %ebx
	addl	%esi, %ecx
	movl	%ecx, (%r10,%rax,4)
	leal	1(%rbx), %edx
	xorl	%esi, %esi
	cmpl	%r14d, %ebx
	sete	%sil
	cmovel	%r9d, %edx
	addl	%ecx, %esi
	movl	%esi, 4(%r10,%rax,4)
	addq	$2, %rax
	addq	$-2, %rdi
	jne	LBB0_7
LBB0_8:
	testb	$1, %r8b
	je	LBB0_10
## %bb.9:
	xorl	%ecx, %ecx
	cmpl	%r14d, %edx
	sete	%cl
	addl	%ecx, %esi
	movl	%esi, (%r10,%rax,4)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QL_MSIX_ENABLED,4,2            ## @QL_MSIX_ENABLED
	.no_dead_strip	_ql_set_tx_vect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_set_tx_vect
_ql_set_tx_vect:                        ; @ql_set_tx_vect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w20, w21, [x0]
Lloh0:
	adrp	x8, _QL_MSIX_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QL_MSIX_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	bl	_likely
	cbz	x0, LBB0_4
; %bb.1:
	ldpsw	x11, x12, [x19, #8]
	cmp	w11, w12
	b.ge	LBB0_6
; %bb.2:
	mov	w8, #0
	mov	w9, #0
	ldr	x10, [x19, #16]
	add	x10, x10, x11, lsl #2
	sub	x11, x12, x11
	mov	w12, #1
	sdiv	w13, w20, w21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w13
	cinc	w8, w8, eq
	str	w8, [x10], #4
	csinc	w9, w12, w9, eq
	subs	x11, x11, #1
	b.ne	LBB0_3
	b	LBB0_6
LBB0_4:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.5:
	ldr	x0, [x19, #16]
	lsl	x1, x8, #2
	bl	_bzero
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QL_MSIX_ENABLED,4,2            ; @QL_MSIX_ENABLED
	.no_dead_strip	_ql_set_tx_vect
.subsections_via_symbols
