	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcbnl_setnumtcs
_dcbnl_setnumtcs:                       ## @dcbnl_setnumtcs
	.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
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DCB_NUMTCS_ATTR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leal	1(%r14), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_EINVAL@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	subl	(%r12), %eax
	movq	_DCB_ATTR_NUMTCS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.1:
	movq	(%r15), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_13
## %bb.2:
	movq	_dcbnl_numtcs_nest@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_nla_parse_nested
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	subl	(%r12), %eax
	jmp	LBB0_13
LBB0_4:
	movq	_DCB_NUMTCS_ATTR_ALL@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_DCB_NUMTCS_ATTR_MAX@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	jge	LBB0_12
## %bb.5:
	leal	1(%rbx), %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	incl	%r14d
	cmpq	%rcx, %rbx
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_nla_get_u8
	movq	(%r15), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	*(%rcx)
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %eax
	jmp	LBB0_10
LBB0_11:
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_8:
	movl	%eax, %ecx
LBB0_12:
	xorl	%edi, %edi
	testl	%ecx, %ecx
	setne	%dil
	movq	_RTM_SETDCB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DCB_CMD_SNUMTCS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DCB_ATTR_NUMTCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	subq	$8, %rsp
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_dcbnl_reply
	addq	$16, %rsp
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DCB_NUMTCS_ATTR_MAX,4,2        ## @DCB_NUMTCS_ATTR_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DCB_ATTR_NUMTCS,8,3            ## @DCB_ATTR_NUMTCS
	.comm	_dcbnl_numtcs_nest,4,2          ## @dcbnl_numtcs_nest
	.comm	_DCB_NUMTCS_ATTR_ALL,4,2        ## @DCB_NUMTCS_ATTR_ALL
	.comm	_RTM_SETDCB,4,2                 ## @RTM_SETDCB
	.comm	_DCB_CMD_SNUMTCS,4,2            ## @DCB_CMD_SNUMTCS
	.no_dead_strip	_dcbnl_setnumtcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcbnl_setnumtcs
_dcbnl_setnumtcs:                       ; @dcbnl_setnumtcs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x8, x1
	mov	x22, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-88]
Lloh3:
	adrp	x26, _DCB_NUMTCS_ATTR_MAX@GOTPAGE
Lloh4:
	ldr	x26, [x26, _DCB_NUMTCS_ATTR_MAX@GOTPAGEOFF]
	ldr	w1, [x26]
	add	w9, w1, #1
	lsl	x12, x9, #3
	mov	x9, x12
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0xffffffff0
	sub	x23, x9, x10
	mov	sp, x23
Lloh7:
	adrp	x24, _EINVAL@GOTPAGE
Lloh8:
	ldr	x24, [x24, _EINVAL@GOTPAGEOFF]
	ldr	w9, [x24]
	neg	w0, w9
Lloh9:
	adrp	x25, _DCB_ATTR_NUMTCS@GOTPAGE
Lloh10:
	ldr	x25, [x25, _DCB_ATTR_NUMTCS@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	x2, [x8, x9, lsl #3]
	cbz	x2, LBB0_12
; %bb.1:
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.2:
Lloh11:
	adrp	x8, _dcbnl_numtcs_nest@GOTPAGE
Lloh12:
	ldr	x8, [x8, _dcbnl_numtcs_nest@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x23
	bl	_nla_parse_nested
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x24]
	neg	w0, w8
	b	LBB0_12
LBB0_4:
Lloh14:
	adrp	x8, _DCB_NUMTCS_ATTR_ALL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DCB_NUMTCS_ATTR_ALL@GOTPAGEOFF]
Lloh16:
	ldrsw	x27, [x8]
	ldr	w8, [x26]
	cmp	w27, w8
	b.ge	LBB0_10
; %bb.5:
	add	w24, w27, #1
	add	x23, x23, #8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #1
	add	w24, w24, #1
	cmp	x27, w8, sxtw
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23, x27, lsl #3]
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_nla_get_u8
	mov	x2, x0
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x24
	blr	x8
	cbnz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x26]
	b	LBB0_6
LBB0_10:
	mov	w0, #0
LBB0_11:
	cmp	w0, #0
Lloh17:
	adrp	x8, _RTM_SETDCB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RTM_SETDCB@GOTPAGEOFF]
	cset	w0, ne
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _DCB_CMD_SNUMTCS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DCB_CMD_SNUMTCS@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	ldr	x3, [x25]
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_dcbnl_reply
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_DCB_NUMTCS_ATTR_MAX,4,2        ; @DCB_NUMTCS_ATTR_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DCB_ATTR_NUMTCS,8,3            ; @DCB_ATTR_NUMTCS
	.comm	_dcbnl_numtcs_nest,4,2          ; @dcbnl_numtcs_nest
	.comm	_DCB_NUMTCS_ATTR_ALL,4,2        ; @DCB_NUMTCS_ATTR_ALL
	.comm	_RTM_SETDCB,4,2                 ; @RTM_SETDCB
	.comm	_DCB_CMD_SNUMTCS,4,2            ; @DCB_CMD_SNUMTCS
	.no_dead_strip	_dcbnl_setnumtcs
.subsections_via_symbols
