	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pass4check                     ## -- Begin function pass4check
	.p2align	4, 0x90
_pass4check:                            ## @pass4check
	.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
	movq	_KEEPON@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	8(%rdi), %r15d
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.1:
	movq	(%rdi), %rbx
	movq	_duplist@GOTPCREL(%rip), %r12
	movq	_SKIP@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %r14d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	leal	-1(%r15), %eax
	cmpl	$1, %r15d
	movl	%eax, %r15d
	jle	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_chkrange
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_testbmap
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %rax
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, (%rax)
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_clrbmap
	movq	_n_blks@GOTPCREL(%rip), %rax
	decl	(%rax)
	jmp	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %rcx
	movq	%rcx, (%rax)
	movq	8(%rdi), %rax
	movq	%rax, (%r12)
	callq	_free
	jmp	LBB0_10
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEEPON,4,2                     ## @KEEPON
	.comm	_SKIP,4,2                       ## @SKIP
	.comm	_duplist,8,3                    ## @duplist
	.comm	_n_blks,4,2                     ## @n_blks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pass4check                     ; -- Begin function pass4check
	.p2align	2
_pass4check:                            ; @pass4check
	.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
Lloh0:
	adrp	x8, _KEEPON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEEPON@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w21, [x0, #8]
	cmp	w21, #1
	b.lt	LBB0_12
; %bb.1:
	ldr	x20, [x0]
Lloh3:
	adrp	x22, _duplist@GOTPAGE
Lloh4:
	ldr	x22, [x22, _duplist@GOTPAGEOFF]
Lloh5:
	adrp	x23, _n_blks@GOTPAGE
Lloh6:
	ldr	x23, [x23, _n_blks@GOTPAGEOFF]
Lloh7:
	adrp	x24, _SKIP@GOTPAGE
Lloh8:
	ldr	x24, [x24, _SKIP@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w19, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	subs	w21, w21, #1
	b.le	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	mov	w1, #1
	bl	_chkrange
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_testbmap
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22]
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x0
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x8]
	cmp	x9, x20
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_clrbmap
	ldr	w8, [x23]
	sub	w8, w8, #1
	str	w8, [x23]
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x10, [x0]
	str	x9, [x8]
	str	x10, [x22]
	bl	_free
	b	LBB0_3
LBB0_12:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_KEEPON,4,2                     ; @KEEPON
	.comm	_SKIP,4,2                       ; @SKIP
	.comm	_duplist,8,3                    ; @duplist
	.comm	_n_blks,4,2                     ; @n_blks
.subsections_via_symbols
