	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nix_setup_lso_tso_l3
_nix_setup_lso_tso_l3:                  ## @nix_setup_lso_tso_l3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r12
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	leal	(%rax,%rax), %r14d
	addl	$2, %r14d
	movl	(%r8), %esi
	leal	1(%rsi), %eax
	movl	%eax, (%r8)
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_NIX_AF_LSO_FORMATX_FIELDX
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%r14d, %ecx
	callq	_rvu_write64
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %esi
	leal	1(%rsi), %eax
	movl	%eax, (%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_NIX_AF_LSO_FORMATX_FIELDX
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	movl	$4, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rvu_write64                    ## TAILCALL
LBB0_1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIX_TXLAYER_OL3,8,3            ## @NIX_TXLAYER_OL3
	.comm	_NIX_LSOALG_ADD_PAYLEN,4,2      ## @NIX_LSOALG_ADD_PAYLEN
	.comm	_NIX_LSOALG_ADD_SEGNUM,4,2      ## @NIX_LSOALG_ADD_SEGNUM
	.no_dead_strip	_nix_setup_lso_tso_l3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nix_setup_lso_tso_l3
_nix_setup_lso_tso_l3:                  ; @nix_setup_lso_tso_l3
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	w8, #2
	mov	w9, #4
	cmp	w3, #0
	csel	w24, w9, w8, eq
	ldr	w1, [x4]
	add	w8, w1, #1
	str	w8, [x4]
	mov	x0, x2
	bl	_NIX_AF_LSO_FORMATX_FIELDX
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	mov	x3, x24
	bl	_rvu_write64
	cbz	w23, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	add	w8, w1, #1
	str	w8, [x22]
	mov	x0, x21
	bl	_NIX_AF_LSO_FORMATX_FIELDX
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rvu_write64
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_NIX_TXLAYER_OL3,8,3            ; @NIX_TXLAYER_OL3
	.comm	_NIX_LSOALG_ADD_PAYLEN,4,2      ; @NIX_LSOALG_ADD_PAYLEN
	.comm	_NIX_LSOALG_ADD_SEGNUM,4,2      ; @NIX_LSOALG_ADD_SEGNUM
	.no_dead_strip	_nix_setup_lso_tso_l3
.subsections_via_symbols
