	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function overlay_notify
_overlay_notify:                        ## @overlay_notify
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_10
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_NOTIFY_OK@GOTPCREL(%rip), %r14
	movq	_NOTIFY_STOP@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	4(%rax,%r13,8), %ecx
	movl	%ecx, -48(%rbp)
	movl	(%rax,%r13,8), %eax
	movl	%eax, -44(%rbp)
	movq	_overlay_notify_chain@GOTPCREL(%rip), %rdi
	movl	%r15d, %esi
	leaq	-48(%rbp), %rdx
	callq	_blocking_notifier_call_chain
	cmpl	(%r14), %eax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r12), %eax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %edi
	callq	_notifier_to_errno
	movl	%eax, %ebx
	movq	_of_overlay_action_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	-48(%rbp), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_pr_err
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_overlay_notify_chain,4,2       ## @overlay_notify_chain
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.comm	_NOTIFY_STOP,4,2                ## @NOTIFY_STOP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"overlay changeset %s notifier error %d, target: %pOF\n"

	.comm	_of_overlay_action_name,8,3     ## @of_overlay_action_name
	.no_dead_strip	_overlay_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function overlay_notify
_overlay_notify:                        ; @overlay_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x22, #0
Lloh0:
	adrp	x21, _overlay_notify_chain@GOTPAGE
Lloh1:
	ldr	x21, [x21, _overlay_notify_chain@GOTPAGEOFF]
Lloh2:
	adrp	x23, _NOTIFY_OK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NOTIFY_OK@GOTPAGEOFF]
Lloh4:
	adrp	x24, _NOTIFY_STOP@GOTPAGE
Lloh5:
	ldr	x24, [x24, _NOTIFY_STOP@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	d0, [x8, x22, lsl #3]
	rev64.2s	v0, v0
	str	d0, [sp, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x19
	bl	_blocking_notifier_call_chain
	ldr	w8, [x23]
	ldr	w9, [x24]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_5:
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	bl	_notifier_to_errno
	mov	x20, x0
Lloh6:
	adrp	x8, _of_overlay_action_name@GOTPAGE
Lloh7:
	ldr	x8, [x8, _of_overlay_action_name@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w1, [x8, w19, uxtw #2]
	ldr	w3, [sp, #8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_err
LBB0_7:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_overlay_notify_chain,4,2       ; @overlay_notify_chain
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.comm	_NOTIFY_STOP,4,2                ; @NOTIFY_STOP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"overlay changeset %s notifier error %d, target: %pOF\n"

	.comm	_of_overlay_action_name,8,3     ; @of_overlay_action_name
	.no_dead_strip	_overlay_notify
.subsections_via_symbols
