	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_part
_change_part:                           ## @change_part
	.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
	movl	%edi, %r14d
	movq	_mboot@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leal	-1(%r14), %eax
	cltq
	imulq	$56, %rax, %rbx
	leaq	(%r15,%rbx), %r12
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, %rdi
	callq	_print_part
	movq	_u_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_ok
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	_i_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	movl	$56, %esi
	callq	_bzero
	cmpl	$1, %r14d
	jne	LBB0_5
## %bb.4:
	movl	$1, %edi
	callq	_init_sector0
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%r12, %rdi
	callq	_print_part
LBB0_5:
	leaq	(%r15,%rbx), %r14
	addq	$4, %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_dos
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_print_part
	leaq	L_.str.14(%rip), %rdi
	callq	_ok
	testq	%rax, %rax
	jne	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	leaq	L_.str.3(%rip), %rdi
	movl	$255, %ecx
	callq	_Decimal
	movl	(%r14), %esi
	movq	_NO_DISK_SECTORS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	L_.str.4(%rip), %rdi
	callq	_Decimal
	movl	4(%r14), %esi
	movl	(%rbx), %ecx
	leaq	L_.str.5(%rip), %rdi
	callq	_Decimal
	movq	%r12, %rdi
	callq	_sanitize_partition
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.6(%rip), %rdi
	callq	_warnx
	movl	$0, (%r12)
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.7(%rip), %rdi
	callq	_ok
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	44(%r14), %rdi
	movq	36(%r14), %rsi
	callq	_DPCYL
	movl	%eax, %ebx
	movl	8(%r14), %r15d
	movq	36(%r14), %rdi
	callq	_DPSECT
	movl	%eax, %r13d
	movq	_NO_TRACK_CYLINDERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.8(%rip), %rdi
	movl	%ebx, %esi
	callq	_Decimal
	movq	_NO_TRACK_HEADS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.9(%rip), %rdi
	movl	%r15d, %esi
	callq	_Decimal
	movq	_NO_TRACK_SECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.10(%rip), %rdi
	movl	%r13d, %esi
	callq	_Decimal
	movl	%ebx, %edi
	callq	_DOSCYL
	movq	%rax, 44(%r14)
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_DOSSECT
	movq	%rax, 36(%r14)
	movl	%r15d, 8(%r14)
	movq	28(%r14), %rdi
	movq	20(%r14), %rsi
	callq	_DPCYL
	movl	%eax, %ebx
	movl	12(%r14), %r15d
	movq	20(%r14), %rdi
	callq	_DPSECT
	movl	%eax, %r13d
	movq	_NO_TRACK_CYLINDERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.11(%rip), %rdi
	movl	%ebx, %esi
	callq	_Decimal
	movq	_NO_TRACK_HEADS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.12(%rip), %rdi
	movl	%r15d, %esi
	callq	_Decimal
	movq	_NO_TRACK_SECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.13(%rip), %rdi
	movl	%r13d, %esi
	callq	_Decimal
	movl	%ebx, %edi
	callq	_DOSCYL
	movq	%rax, 28(%r14)
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_DOSSECT
	movq	%rax, 20(%r14)
	movl	%r15d, 12(%r14)
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mboot,8,3                      ## @mboot
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The data for partition %d is:\n"

	.comm	_u_flag,8,3                     ## @u_flag
L_.str.1:                               ## @.str.1
	.asciz	"Do you want to change it?"

	.comm	_i_flag,8,3                     ## @i_flag
L_.str.3:                               ## @.str.3
	.asciz	"sysid (165=FreeBSD)"

L_.str.4:                               ## @.str.4
	.asciz	"start"

	.comm	_NO_DISK_SECTORS,4,2            ## @NO_DISK_SECTORS
L_.str.5:                               ## @.str.5
	.asciz	"size"

L_.str.6:                               ## @.str.6
	.asciz	"ERROR: failed to adjust; setting sysid to 0"

L_.str.7:                               ## @.str.7
	.asciz	"Explicitly specify beg/end address ?"

L_.str.8:                               ## @.str.8
	.asciz	"beginning cylinder"

	.comm	_NO_TRACK_CYLINDERS,4,2         ## @NO_TRACK_CYLINDERS
L_.str.9:                               ## @.str.9
	.asciz	"beginning head"

	.comm	_NO_TRACK_HEADS,4,2             ## @NO_TRACK_HEADS
L_.str.10:                              ## @.str.10
	.asciz	"beginning sector"

	.comm	_NO_TRACK_SECTORS,4,2           ## @NO_TRACK_SECTORS
L_.str.11:                              ## @.str.11
	.asciz	"ending cylinder"

L_.str.12:                              ## @.str.12
	.asciz	"ending head"

L_.str.13:                              ## @.str.13
	.asciz	"ending sector"

L_.str.14:                              ## @.str.14
	.asciz	"Are we happy with this entry?"

L_str:                                  ## @str
	.asciz	"\nThe static data for the slice 1 has been reinitialized to:"

	.no_dead_strip	_change_part
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_part
_change_part:                           ; @change_part
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _mboot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mboot@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	sxtw	x8, w20
	sub	x22, x8, #1
	mov	w8, #56
	madd	x19, x22, x8, x21
	str	x20, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_print_part
Lloh5:
	adrp	x8, _u_flag@GOTPAGE
Lloh6:
	ldr	x8, [x8, _u_flag@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ok
	cbz	x0, LBB0_12
; %bb.2:
Lloh10:
	adrp	x8, _i_flag@GOTPAGE
Lloh11:
	ldr	x8, [x8, _i_flag@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #56
	bl	_bzero
	cmp	w20, #1
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #1
	bl	_init_sector0
Lloh13:
	adrp	x0, l_str@PAGE
Lloh14:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x19
	bl	_print_part
LBB0_5:
	mov	w8, #56
	madd	x8, x22, x8, x21
	add	x10, x8, #4
	add	x9, x8, #8
	stp	x9, x10, [sp, #64]              ; 16-byte Folded Spill
	add	x10, x8, #48
	add	x11, x8, #40
	add	x9, x8, #12
	stp	x9, x10, [sp, #48]              ; 16-byte Folded Spill
	add	x10, x8, #32
	add	x9, x8, #24
	stp	x9, x11, [sp, #16]              ; 16-byte Folded Spill
	add	x8, x8, #16
	stp	x8, x10, [sp, #32]              ; 16-byte Folded Spill
Lloh15:
	adrp	x21, _NO_TRACK_CYLINDERS@GOTPAGE
Lloh16:
	ldr	x21, [x21, _NO_TRACK_CYLINDERS@GOTPAGEOFF]
Lloh17:
	adrp	x20, _NO_TRACK_HEADS@GOTPAGE
Lloh18:
	ldr	x20, [x20, _NO_TRACK_HEADS@GOTPAGEOFF]
Lloh19:
	adrp	x22, _NO_TRACK_SECTORS@GOTPAGE
Lloh20:
	ldr	x22, [x22, _NO_TRACK_SECTORS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_dos
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_print_part
Lloh21:
	adrp	x0, l_.str.14@PAGE
Lloh22:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_ok
	cbnz	x0, LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w3, #255
	bl	_Decimal
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
Lloh25:
	adrp	x23, _NO_DISK_SECTORS@GOTPAGE
Lloh26:
	ldr	x23, [x23, _NO_DISK_SECTORS@GOTPAGEOFF]
	ldr	w3, [x23]
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Decimal
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	ldr	w3, [x23]
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_Decimal
	mov	x0, x19
	bl	_sanitize_partition
	cbnz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh31:
	adrp	x0, l_.str.6@PAGE
Lloh32:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warnx
	str	wzr, [x19]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh33:
	adrp	x0, l_.str.7@PAGE
Lloh34:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_ok
	cbz	x0, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x24, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x0, [x24]
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x1, [x27]
	bl	_DPCYL
	mov	x28, x0
	ldr	x25, [sp, #48]                  ; 8-byte Folded Reload
	ldr	w23, [x25]
	ldr	x0, [x27]
	bl	_DPSECT
	mov	x26, x0
	ldr	w3, [x21]
Lloh35:
	adrp	x0, l_.str.8@PAGE
Lloh36:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x28
	bl	_Decimal
	ldr	w3, [x20]
Lloh37:
	adrp	x0, l_.str.9@PAGE
Lloh38:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x23
	bl	_Decimal
	ldr	w3, [x22]
Lloh39:
	adrp	x0, l_.str.10@PAGE
Lloh40:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x26
	bl	_Decimal
	mov	x0, x28
	bl	_DOSCYL
	str	x0, [x24]
	mov	x0, x26
	mov	x1, x28
	bl	_DOSSECT
	str	x0, [x27]
	str	w23, [x25]
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x0, [x24]
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x1, [x27]
	bl	_DPCYL
	mov	x23, x0
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w26, [x25]
	ldr	x0, [x27]
	bl	_DPSECT
	mov	x28, x0
	ldr	w3, [x21]
Lloh41:
	adrp	x0, l_.str.11@PAGE
Lloh42:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x23
	bl	_Decimal
	ldr	w3, [x20]
Lloh43:
	adrp	x0, l_.str.12@PAGE
Lloh44:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x1, x26
	bl	_Decimal
	ldr	w3, [x22]
Lloh45:
	adrp	x0, l_.str.13@PAGE
Lloh46:
	add	x0, x0, l_.str.13@PAGEOFF
	mov	x1, x28
	bl	_Decimal
	mov	x0, x23
	bl	_DOSCYL
	str	x0, [x24]
	mov	x0, x28
	mov	x1, x23
	bl	_DOSSECT
	str	x0, [x27]
	str	w26, [x25]
	b	LBB0_7
LBB0_12:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_mboot,8,3                      ; @mboot
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The data for partition %d is:\n"

	.comm	_u_flag,8,3                     ; @u_flag
l_.str.1:                               ; @.str.1
	.asciz	"Do you want to change it?"

	.comm	_i_flag,8,3                     ; @i_flag
l_.str.3:                               ; @.str.3
	.asciz	"sysid (165=FreeBSD)"

l_.str.4:                               ; @.str.4
	.asciz	"start"

	.comm	_NO_DISK_SECTORS,4,2            ; @NO_DISK_SECTORS
l_.str.5:                               ; @.str.5
	.asciz	"size"

l_.str.6:                               ; @.str.6
	.asciz	"ERROR: failed to adjust; setting sysid to 0"

l_.str.7:                               ; @.str.7
	.asciz	"Explicitly specify beg/end address ?"

l_.str.8:                               ; @.str.8
	.asciz	"beginning cylinder"

	.comm	_NO_TRACK_CYLINDERS,4,2         ; @NO_TRACK_CYLINDERS
l_.str.9:                               ; @.str.9
	.asciz	"beginning head"

	.comm	_NO_TRACK_HEADS,4,2             ; @NO_TRACK_HEADS
l_.str.10:                              ; @.str.10
	.asciz	"beginning sector"

	.comm	_NO_TRACK_SECTORS,4,2           ; @NO_TRACK_SECTORS
l_.str.11:                              ; @.str.11
	.asciz	"ending cylinder"

l_.str.12:                              ; @.str.12
	.asciz	"ending head"

l_.str.13:                              ; @.str.13
	.asciz	"ending sector"

l_.str.14:                              ; @.str.14
	.asciz	"Are we happy with this entry?"

l_str:                                  ; @str
	.asciz	"\nThe static data for the slice 1 has been reinitialized to:"

	.no_dead_strip	_change_part
.subsections_via_symbols
