	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_label
_check_label:                           ## @check_label
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %rax
	movq	_SUN_RAWPART@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	cmpq	$0, (%rax,%rcx)
	jne	LBB0_27
## %bb.1:
	movl	12(%rdi), %edx
	imull	8(%rdi), %edx
	imull	16(%rdi), %edx
	cmpl	%edx, 8(%rax,%rcx)
	jne	LBB0_27
## %bb.2:
	movq	(%rdi), %rcx
	movq	_SUN_VTOC_SANE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %rcx
	jne	LBB0_4
## %bb.3:
	movq	32(%rdi), %rax
	movq	32(%rax), %rax
	movq	_VTOC_BACKUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
LBB0_4:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_SUN_NPART@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_31
## %bb.5:
	xorl	%r10d, %r10d
	xorl	%esi, %esi
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rsi
	movslq	%r8d, %rax
	addq	$16, %r10
	cmpq	%rax, %rsi
	jge	LBB0_31
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	cmpq	$2, %rsi
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%rdi), %rax
	movq	%rsi, %rbx
	shlq	$4, %rbx
	movl	8(%rax,%rbx), %edx
	testl	%edx, %edx
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%rdi), %ecx
	imull	(%rax,%rbx), %ecx
	imull	16(%rdi), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	addl	%ecx, %edx
	cmpl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	jg	LBB0_34
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r15, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%rdi), %rax
	movq	(%rax,%rbx), %rax
	movq	_VTOC_BACKUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_35
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	leal	97(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$97, %ebx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%r10, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	%rdi, %r15
	leaq	L_.str.4(%rip), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_warnx
	cmpb	$0, -60(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_29
## %bb.15:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	_SUN_NPART@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%r12
	movslq	%r8d, %rax
	incl	%ebx
	addq	$16, %r14
	cmpq	%rax, %r12
	jge	LBB0_6
LBB0_17:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r15, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	32(%rdi), %rax
	movq	_VTOC_UNMNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movb	$1, %r9b
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	testl	%ecx, 8(%rax,%rdx)
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	testl	%ecx, 8(%rax,%r14)
	setne	%r9b
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=2
	xorl	%r9d, %r9d
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=2
	cmpq	$32, %r14
	je	LBB0_16
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=2
	cmpq	%r14, %r10
	je	LBB0_16
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	24(%rdi), %rax
	movl	8(%rax,%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.24:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	12(%rdi), %edx
	imull	(%rax,%r14), %edx
	imull	16(%rdi), %edx
	addl	%edx, %ecx
	movl	-56(%rbp), %r11d                ## 4-byte Reload
	cmpl	%edx, %r11d
	setg	%r13b
	movl	-52(%rbp), %r10d                ## 4-byte Reload
	cmpl	%ecx, %r10d
	setl	%r9b
	movl	%r13d, %eax
	orb	%r9b, %al
	cmpl	%ecx, %r11d
	setl	%r11b
	cmpl	%edx, %r10d
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	setg	%cl
	cmpb	$1, %al
	jne	LBB0_14
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=2
	andb	%r11b, %r13b
	jne	LBB0_14
## %bb.26:                              ##   in Loop: Header=BB0_17 Depth=2
	andb	%r9b, %cl
	je	LBB0_16
	jmp	LBB0_14
LBB0_27:
	leaq	L_.str(%rip), %rdi
LBB0_28:
	xorl	%eax, %eax
	callq	_warnx
LBB0_29:
	movl	$1, %eax
LBB0_30:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	xorl	%eax, %eax
	jmp	LBB0_30
LBB0_32:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_28
LBB0_34:
	addl	$97, %esi
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_29
LBB0_35:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_SUN_VTOC_SANE,8,3              ## @SUN_VTOC_SANE
	.comm	_SUN_RAWPART,8,3                ## @SUN_RAWPART
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"partition c is incorrect, must start at 0 and cover whole disk"

	.comm	_VTOC_BACKUP,8,3                ## @VTOC_BACKUP
L_.str.1:                               ## @.str.1
	.asciz	"partition c must have tag \"backup\""

	.comm	_SUN_NPART,4,2                  ## @SUN_NPART
L_.str.2:                               ## @.str.2
	.asciz	"partition %c extends past end of disk"

L_.str.3:                               ## @.str.3
	.asciz	"only partition c is allowed to have tag \"backup\""

	.comm	_VTOC_UNMNT,4,2                 ## @VTOC_UNMNT
L_.str.4:                               ## @.str.4
	.asciz	"partition %c overlaps partition %c"

	.no_dead_strip	_check_label
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_label
_check_label:                           ; @check_label
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _SUN_RAWPART@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUN_RAWPART@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
	cbnz	x10, LBB0_27
; %bb.1:
	mov	x25, x0
	ldp	w10, w11, [x0, #8]
	mul	w10, w11, w10
	ldr	w11, [x0, #16]
	mul	w10, w10, w11
	add	x8, x8, x9, lsl #4
	ldr	w8, [x8, #8]
	cmp	w8, w10
	b.ne	LBB0_27
; %bb.2:
	ldr	x23, [x25]
Lloh3:
	adrp	x8, _SUN_VTOC_SANE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUN_VTOC_SANE@GOTPAGEOFF]
Lloh5:
	ldr	x27, [x8]
	cmp	x23, x27
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x25, #32]
	ldr	x8, [x8, #32]
Lloh6:
	adrp	x9, _VTOC_BACKUP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VTOC_BACKUP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_32
LBB0_4:
Lloh9:
	adrp	x8, _SUN_NPART@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUN_NPART@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.5:
	str	w10, [sp, #24]                  ; 4-byte Folded Spill
	mov	x19, #0
	mov	x22, #0
Lloh12:
	adrp	x20, _VTOC_UNMNT@GOTPAGE
Lloh13:
	ldr	x20, [x20, _VTOC_UNMNT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	add	x19, x19, #16
	cmp	x22, w8, sxtw
	b.ge	LBB0_31
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	cmp	x22, #2
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x11, [x25, #24]
	add	x9, x11, x22, lsl #4
	ldr	w10, [x9, #8]
	cbz	w10, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	x9, x22, #4
	ldr	w11, [x11, x9]
	ldp	w12, w13, [x25, #12]
	mul	w11, w12, w11
	mul	w26, w11, w13
	add	w2, w26, w10
	ldr	w10, [sp, #24]                  ; 4-byte Folded Reload
	cmp	w2, w10
	b.gt	LBB0_33
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x23, x27
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x25, #32]
	ldr	x9, [x10, x9]
Lloh14:
	adrp	x10, _VTOC_BACKUP@GOTPAGE
Lloh15:
	ldr	x10, [x10, _VTOC_BACKUP@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_34
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, #0
	mov	x21, #0
	add	w9, w22, #97
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	mov	w28, #97
	str	w2, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	x8, x28, [sp]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	str	w3, [sp, #44]                   ; 4-byte Folded Spill
	bl	_warnx
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_29
; %bb.15:                               ;   in Loop: Header=BB0_17 Depth=2
Lloh19:
	adrp	x8, _SUN_NPART@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SUN_NPART@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x21, x21, #1
	add	w28, w28, #1
	add	x24, x24, #16
	cmp	x21, w8, sxtw
	b.ge	LBB0_6
LBB0_17:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x23, x27
	b.ne	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	x9, [x25, #32]
	add	x10, x9, x22, lsl #4
	ldr	w11, [x10, #8]
	ldr	w10, [x20]
	tst	w10, w11
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w3, #1
	cmp	x24, #32
	b.ne	LBB0_22
	b	LBB0_16
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w3, #0
	cmp	x24, #32
	b.ne	LBB0_22
	b	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x9, x9, x24
	ldr	w9, [x9, #8]
	tst	w9, w10
	cset	w3, ne
	cmp	x24, #32
	b.eq	LBB0_16
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=2
	cmp	x19, x24
	b.eq	LBB0_16
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	x10, [x25, #24]
	add	x9, x10, x24
	ldr	w9, [x9, #8]
	cbz	w9, LBB0_16
; %bb.24:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w10, [x10, x24]
	ldp	w11, w12, [x25, #12]
	mul	w10, w11, w10
	mul	w11, w10, w12
	cmp	w26, w11
	cset	w10, gt
	add	w12, w11, w9
	cmp	w2, w12
	cset	w9, lt
	orr	w13, w10, w9
	cmp	w26, w12
	cset	w12, lt
	cmp	w2, w11
	cset	w11, gt
	cmp	w13, #1
	b.ne	LBB0_14
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=2
	and	w10, w10, w12
	tbnz	w10, #0, LBB0_14
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=2
	and	w9, w11, w9
	cbz	w9, LBB0_16
	b	LBB0_14
LBB0_27:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
LBB0_28:
	bl	_warnx
LBB0_29:
	mov	w0, #1
LBB0_30:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_31:
	mov	w0, #0
	b	LBB0_30
LBB0_32:
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_33:
	add	w8, w22, #97
	str	x8, [sp]
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_28
LBB0_34:
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_SUN_VTOC_SANE,8,3              ; @SUN_VTOC_SANE
	.comm	_SUN_RAWPART,8,3                ; @SUN_RAWPART
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"partition c is incorrect, must start at 0 and cover whole disk"

	.comm	_VTOC_BACKUP,8,3                ; @VTOC_BACKUP
l_.str.1:                               ; @.str.1
	.asciz	"partition c must have tag \"backup\""

	.comm	_SUN_NPART,4,2                  ; @SUN_NPART
l_.str.2:                               ; @.str.2
	.asciz	"partition %c extends past end of disk"

l_.str.3:                               ; @.str.3
	.asciz	"only partition c is allowed to have tag \"backup\""

	.comm	_VTOC_UNMNT,4,2                 ; @VTOC_UNMNT
l_.str.4:                               ; @.str.4
	.asciz	"partition %c overlaps partition %c"

	.no_dead_strip	_check_label
.subsections_via_symbols
