	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl_req_ncci
_nl_req_ncci:                           ## @nl_req_ncci
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_8
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	32(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_dprintf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	_REMOVE@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	24(%rbx), %eax
	movl	%eax, 28(%rbx)
	xorl	%edx, %edx
	testq	%r15, %r15
	setne	%dl
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ncci_remove
LBB0_4:
	movl	(%rbx), %esi
	movl	4(%rbx), %ecx
	cmpl	%ecx, %esi
	jne	LBB0_5
## %bb.6:
	movslq	%esi, %rcx
	movq	8(%rbx), %rax
	addl	$3, %esi
	movl	%esi, (%rbx)
	movl	$0, 8(%rax,%rcx,4)
	movl	(%rbx), %esi
	movl	4(%rbx), %ecx
	jmp	LBB0_7
LBB0_5:
	movq	8(%rbx), %rax
LBB0_7:
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	subl	%ecx, %esi
	addl	$-2, %esi
	callq	_PUT_WORD
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movl	$1, (%rax,%rcx,4)
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movl	%r14d, (%rax,%rcx,4)
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r15,8), %ecx
	movslq	(%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rbx)
	movl	%ecx, (%rax,%rdx,4)
	movl	(%rbx), %eax
	movl	%eax, 4(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl_req %02x %02x %02x"

	.comm	_REMOVE,8,3                     ## @REMOVE
	.no_dead_strip	_nl_req_ncci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl_req_ncci
_nl_req_ncci:                           ; @nl_req_ncci
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_8
; %bb.2:
	mov	x21, x2
	mov	x20, x1
	ldr	w1, [x19, #32]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x21
	bl	_dprintf
	mov	x1, x0
	mov	w0, #1
	bl	_dbug
Lloh2:
	adrp	x8, _REMOVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REMOVE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19, #24]
	str	w8, [x19, #28]
	cmp	x21, #0
	cset	w2, ne
	mov	x0, x19
	mov	w1, #0
	bl	_ncci_remove
	mov	x21, #0
LBB0_4:
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	add	w9, w8, #2
	ldr	x10, [x19, #8]
	add	w8, w8, #3
	str	w8, [x19]
	str	wzr, [x10, w9, sxtw #2]
	ldp	w8, w9, [x19]
	b	LBB0_7
LBB0_6:
	ldr	x10, [x19, #8]
LBB0_7:
	add	x0, x10, w9, sxtw #2
	sub	w8, w8, w9
	sub	w1, w8, #2
	bl	_PUT_WORD
	ldrsw	x8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	mov	w9, #1
	ldp	x10, x11, [x19, #8]
	str	w9, [x10, x8, lsl #2]
	ldrsw	x8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	str	w20, [x10, x8, lsl #2]
	ldr	x8, [x11]
	ldr	x8, [x8, x21, lsl #3]
	ldrsw	x9, [x19]
	add	w11, w9, #1
	str	w11, [x19]
	str	w8, [x10, x9, lsl #2]
	ldr	w8, [x19]
	str	w8, [x19, #4]
LBB0_8:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl_req %02x %02x %02x"

	.comm	_REMOVE,8,3                     ; @REMOVE
	.no_dead_strip	_nl_req_ncci
.subsections_via_symbols
