	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function if_notifier
_if_notifier:                           ## @if_notifier
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdx, -40(%rbp)
	movq	24(%rsi), %r12
	movq	16(%r12), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movl	(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	16(%r14), %eax
	movl	%eax, -64(%rbp)
	movl	8(%r12), %edx
	movq	(%r12), %rcx
	movq	_compare_ifidx@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-40(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$24, %r8d
	callq	_badd
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	movq	-40(%rbp), %rsi
	callq	_KASSERT
	movq	(%r12), %rax
	incq	%rax
	movq	%rax, (%r12)
	movl	$1, %ecx
	jmp	LBB0_6
LBB0_3:
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.5:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	8(%r12), %esi
	movq	(%r12), %rdx
	movq	_compare_ifidx@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-40(%rbp), %rdi
	movl	$24, %ecx
	callq	_bdel
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	movq	-40(%rbp), %rsi
	callq	_KASSERT
	movq	(%r12), %rax
	decq	%rax
	movq	%rax, (%r12)
	xorl	%ecx, %ecx
LBB0_6:
	movq	%rax, (%r15)
	movl	%ecx, (%r14)
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ti=NULL, check change_ti handler"

	.comm	_compare_ifidx,4,2              ## @compare_ifidx
	.no_dead_strip	_if_notifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function if_notifier
_if_notifier:                           ; @if_notifier
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x1
	str	x2, [sp, #24]
	ldr	x22, [x1, #24]
	ldr	x21, [x22, #16]
	cmp	x21, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	w8, [x19]
	cmp	w8, #0
	ccmp	x20, #0, #4, eq
	b.ne	LBB0_3
; %bb.1:
	cmp	w8, #0
	ccmp	x20, #0, #0, ne
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w1, [x22, #8]
	ldr	x2, [x22]
Lloh2:
	adrp	x8, _compare_ifidx@GOTPAGE
Lloh3:
	ldr	x8, [x8, _compare_ifidx@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
	add	x0, sp, #24
	mov	w3, #24
	bl	_bdel
	cmp	w0, #1
	cset	w0, eq
	ldr	x1, [sp, #24]
	bl	_KASSERT
	mov	w9, #0
	ldr	x8, [x22]
	sub	x8, x8, #1
	str	x8, [x22]
	b	LBB0_4
LBB0_3:
	stp	xzr, x20, [sp, #8]
	ldr	w8, [x19, #16]
	str	w8, [sp]
	ldr	w2, [x22, #8]
	ldr	x3, [x22]
Lloh5:
	adrp	x8, _compare_ifidx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _compare_ifidx@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	add	x0, sp, #24
	mov	x1, sp
	mov	w4, #24
	bl	_badd
	cmp	w0, #1
	cset	w0, eq
	ldr	x1, [sp, #24]
	bl	_KASSERT
	ldr	x8, [x22]
	add	x8, x8, #1
	str	x8, [x22]
	mov	w9, #1
LBB0_4:
	str	x8, [x21]
	str	w9, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ti=NULL, check change_ti handler"

	.comm	_compare_ifidx,4,2              ; @compare_ifidx
	.no_dead_strip	_if_notifier
.subsections_via_symbols
