	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_active
_process_active:                        ## @process_active
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_active_processed@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	cmpl	$1, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movl	(%rax), %r14d
	leal	-5(%r14), %eax
	cmpl	$-5, %eax
	ja	LBB0_4
## %bb.3:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_7
LBB0_1:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_7
LBB0_4:
	movq	_mboot@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_NDOSPART@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.5:
	shlq	$3, %rsi
	movq	%rbx, %rdi
	callq	___bzero
LBB0_6:
	movq	_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decl	%r14d
	movq	%rax, (%rbx,%r14,8)
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_active_processed,4,2           ## @active_processed
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR line %d: incorrect number of active args"

	.comm	_current_line_number,4,2        ## @current_line_number
L_.str.1:                               ## @.str.1
	.asciz	"ERROR line %d: invalid partition number %d"

	.comm	_mboot,8,3                      ## @mboot
	.comm	_NDOSPART,4,2                   ## @NDOSPART
	.comm	_ACTIVE,8,3                     ## @ACTIVE
	.no_dead_strip	_process_active
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_active
_process_active:                        ; @process_active
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _active_processed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _active_processed@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w20, [x8]
	sub	w8, w20, #5
	cmn	w8, #5
	b.hi	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _current_line_number@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	str	x20, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _current_line_number@GOTPAGE
Lloh9:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_warnx
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh13:
	adrp	x8, _mboot@GOTPAGE
Lloh14:
	ldr	x8, [x8, _mboot@GOTPAGEOFF]
Lloh15:
	ldr	x19, [x8]
Lloh16:
	adrp	x8, _NDOSPART@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NDOSPART@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.6:
	lsl	x1, x8, #3
	mov	x0, x19
	bl	_bzero
LBB0_7:
Lloh19:
	adrp	x8, _ACTIVE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ACTIVE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	sub	w9, w20, #1
	str	x8, [x19, w9, uxtw #3]
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_active_processed,4,2           ; @active_processed
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR line %d: incorrect number of active args"

	.comm	_current_line_number,4,2        ; @current_line_number
l_.str.1:                               ; @.str.1
	.asciz	"ERROR line %d: invalid partition number %d"

	.comm	_mboot,8,3                      ; @mboot
	.comm	_NDOSPART,4,2                   ; @NDOSPART
	.comm	_ACTIVE,8,3                     ; @ACTIVE
	.no_dead_strip	_process_active
.subsections_via_symbols
