	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_geometry
_process_geometry:                      ## @process_geometry
	.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	_geom_processed@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_part_processed@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_39
LBB0_2:
	movq	%rdi, %rbx
	cmpl	$3, (%rdi)
	jne	LBB0_3
## %bb.4:
	movq	_dos_cyls@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movq	_dos_heads@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	movq	_dos_sectors@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	cmpl	$115, %ecx
	je	LBB0_9
## %bb.5:
	cmpl	$104, %ecx
	je	LBB0_8
## %bb.6:
	cmpl	$99, %ecx
	jne	LBB0_10
## %bb.7:
	movl	4(%rax), %ecx
	movl	%ecx, (%r14)
	movl	$1, %r13d
	jmp	LBB0_11
LBB0_3:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_39:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
LBB0_40:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	4(%rax), %ecx
	movq	_dos_sectors@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	$1, %r13d
	jmp	LBB0_11
LBB0_8:
	movl	4(%rax), %ecx
	movl	%ecx, (%r15)
	movl	$1, %r13d
	jmp	LBB0_11
LBB0_10:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%r13d, %r13d
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_warnx
	movq	8(%rbx), %rax
LBB0_11:
	movl	8(%rax), %ecx
	cmpl	$99, %ecx
	je	LBB0_16
## %bb.12:
	cmpl	$104, %ecx
	je	LBB0_15
## %bb.13:
	cmpl	$115, %ecx
	jne	LBB0_17
## %bb.14:
	movl	12(%rax), %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_18
LBB0_16:
	movl	12(%rax), %ecx
	movq	_dos_cyls@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_18
LBB0_15:
	movl	12(%rax), %ecx
	movl	%ecx, (%r15)
	jmp	LBB0_18
LBB0_17:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%r13d, %r13d
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_warnx
	movq	8(%rbx), %rax
LBB0_18:
	movl	16(%rax), %ecx
	cmpl	$99, %ecx
	je	LBB0_23
## %bb.19:
	cmpl	$115, %ecx
	je	LBB0_24
## %bb.20:
	cmpl	$104, %ecx
	jne	LBB0_22
## %bb.21:
	movq	%r15, %r12
	jmp	LBB0_24
LBB0_23:
	movq	%r14, %r12
LBB0_24:
	movl	20(%rax), %eax
	movl	%eax, (%r12)
	testl	%r13d, %r13d
	je	LBB0_25
## %bb.26:
	movq	_dos_heads@GOTPCREL(%rip), %r12
	movq	_dos_sectors@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	imull	(%r12), %eax
	movq	_dos_cylsecs@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r14), %edx
	movl	$1, %ebx
	testl	%edx, %edx
	jne	LBB0_28
## %bb.27:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
	movl	(%r14), %edx
LBB0_28:
	cmpl	$1025, %edx                     ## imm = 0x401
	jl	LBB0_30
## %bb.29:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_30:
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_31
## %bb.32:
	cmpl	$257, %eax                      ## imm = 0x101
	jl	LBB0_35
## %bb.33:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_34
LBB0_25:
	xorl	%ebx, %ebx
	jmp	LBB0_40
LBB0_22:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_40
LBB0_31:
	leaq	L_.str.5(%rip), %rdi
LBB0_34:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
LBB0_35:
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_36
## %bb.37:
	cmpl	$64, %eax
	jl	LBB0_40
## %bb.38:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_39
LBB0_36:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.comm	_geom_processed,4,2             ## @geom_processed
	.comm	_part_processed,8,3             ## @part_processed
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR line %d: the geometry specification line must occur before\n    all partition specifications"

	.comm	_current_line_number,4,2        ## @current_line_number
L_.str.1:                               ## @.str.1
	.asciz	"ERROR line %d: incorrect number of geometry args"

	.comm	_dos_cyls,4,2                   ## @dos_cyls
	.comm	_dos_heads,4,2                  ## @dos_heads
	.comm	_dos_sectors,4,2                ## @dos_sectors
L_.str.2:                               ## @.str.2
	.asciz	"ERROR line %d: unknown geometry arg type: '%c' (0x%02x)"

	.comm	_dos_cylsecs,4,2                ## @dos_cylsecs
L_.str.3:                               ## @.str.3
	.asciz	"ERROR line %d: number of cylinders not specified"

L_.str.4:                               ## @.str.4
	.asciz	"WARNING line %d: number of cylinders (%d) may be out-of-range\n    (must be within 1-1024 for normal BIOS operation, unless the entire disk\n    is dedicated to FreeBSD)"

L_.str.5:                               ## @.str.5
	.asciz	"ERROR line %d: number of heads not specified"

L_.str.6:                               ## @.str.6
	.asciz	"ERROR line %d: number of heads must be within (1-256)"

L_.str.7:                               ## @.str.7
	.asciz	"ERROR line %d: number of sectors not specified"

L_.str.8:                               ## @.str.8
	.asciz	"ERROR line %d: number of sectors must be within (1-63)"

	.no_dead_strip	_process_geometry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_geometry
_process_geometry:                      ; @process_geometry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _geom_processed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _geom_processed@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x8, _part_processed@GOTPAGE
Lloh4:
	ldr	x8, [x8, _part_processed@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _current_line_number@GOTPAGE
Lloh7:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_39
LBB0_2:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #3
	b.ne	LBB0_7
; %bb.3:
Lloh11:
	adrp	x21, _dos_cyls@GOTPAGE
Lloh12:
	ldr	x21, [x21, _dos_cyls@GOTPAGEOFF]
	str	wzr, [x21]
Lloh13:
	adrp	x20, _dos_heads@GOTPAGE
Lloh14:
	ldr	x20, [x20, _dos_heads@GOTPAGEOFF]
	str	wzr, [x20]
Lloh15:
	adrp	x22, _dos_sectors@GOTPAGE
Lloh16:
	ldr	x22, [x22, _dos_sectors@GOTPAGEOFF]
	str	wzr, [x22]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	cmp	w9, #115
	b.eq	LBB0_8
; %bb.4:
	cmp	w9, #104
	b.eq	LBB0_9
; %bb.5:
	cmp	w9, #99
	b.ne	LBB0_10
; %bb.6:
	ldr	w9, [x8, #4]
	str	w9, [x21]
	mov	w9, #1
	b	LBB0_11
LBB0_7:
Lloh17:
	adrp	x8, _current_line_number@GOTPAGE
Lloh18:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_39
LBB0_8:
	ldr	w9, [x8, #4]
	str	w9, [x22]
	mov	w9, #1
	b	LBB0_11
LBB0_9:
	ldr	w9, [x8, #4]
	str	w9, [x20]
	mov	w9, #1
	b	LBB0_11
LBB0_10:
Lloh22:
	adrp	x8, _current_line_number@GOTPAGE
Lloh23:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	stp	x9, x9, [sp]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
	mov	w9, #0
	ldr	x8, [x19, #8]
LBB0_11:
	ldr	w10, [x8, #8]
	cmp	w10, #99
	b.eq	LBB0_15
; %bb.12:
	cmp	w10, #104
	b.eq	LBB0_16
; %bb.13:
	cmp	w10, #115
	b.ne	LBB0_17
; %bb.14:
	ldr	w10, [x8, #12]
	str	w10, [x22]
	b	LBB0_18
LBB0_15:
	ldr	w10, [x8, #12]
	str	w10, [x21]
	b	LBB0_18
LBB0_16:
	ldr	w10, [x8, #12]
	str	w10, [x20]
	b	LBB0_18
LBB0_17:
Lloh27:
	adrp	x8, _current_line_number@GOTPAGE
Lloh28:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	stp	x10, x10, [sp]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
	mov	w9, #0
	ldr	x8, [x19, #8]
LBB0_18:
	ldr	w10, [x8, #16]
Lloh32:
	adrp	x22, _dos_sectors@GOTPAGE
Lloh33:
	ldr	x22, [x22, _dos_sectors@GOTPAGEOFF]
	cmp	w10, #99
	b.eq	LBB0_22
; %bb.19:
	cmp	w10, #115
	b.eq	LBB0_23
; %bb.20:
	cmp	w10, #104
	b.ne	LBB0_31
; %bb.21:
Lloh34:
	adrp	x10, _dos_heads@GOTPAGE
Lloh35:
	ldr	x10, [x10, _dos_heads@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
Lloh36:
	adrp	x10, _dos_cyls@GOTPAGE
Lloh37:
	ldr	x10, [x10, _dos_cyls@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
	mov	x10, x22
LBB0_24:
	ldr	w8, [x8, #20]
	str	w8, [x10]
	cbz	w9, LBB0_40
; %bb.25:
	ldr	w8, [x20]
	ldr	w9, [x22]
	mul	w8, w9, w8
Lloh38:
	adrp	x9, _dos_cylsecs@GOTPAGE
Lloh39:
	ldr	x9, [x9, _dos_cylsecs@GOTPAGEOFF]
Lloh40:
	str	w8, [x9]
	ldr	w8, [x21]
	cbz	w8, LBB0_32
; %bb.26:
	mov	w19, #1
	cmp	w8, #1025
	b.lt	LBB0_28
LBB0_27:
Lloh41:
	adrp	x9, _current_line_number@GOTPAGE
Lloh42:
	ldr	x9, [x9, _current_line_number@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh44:
	adrp	x0, l_.str.4@PAGE
Lloh45:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_warnx
LBB0_28:
	ldr	w8, [x20]
	cbz	w8, LBB0_33
; %bb.29:
	cmp	w8, #257
	b.lt	LBB0_35
; %bb.30:
Lloh46:
	adrp	x0, l_.str.6@PAGE
Lloh47:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_34
LBB0_31:
Lloh48:
	adrp	x8, _current_line_number@GOTPAGE
Lloh49:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	stp	x10, x10, [sp]
Lloh51:
	adrp	x0, l_.str.2@PAGE
Lloh52:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_39
LBB0_32:
Lloh53:
	adrp	x8, _current_line_number@GOTPAGE
Lloh54:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x0, l_.str.3@PAGE
Lloh57:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
	mov	w19, #0
	ldr	w8, [x21]
	cmp	w8, #1025
	b.ge	LBB0_27
	b	LBB0_28
LBB0_33:
Lloh58:
	adrp	x0, l_.str.5@PAGE
Lloh59:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_34:
Lloh60:
	adrp	x8, _current_line_number@GOTPAGE
Lloh61:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_warnx
	mov	w19, #0
LBB0_35:
	ldr	w8, [x22]
	cbz	w8, LBB0_38
; %bb.36:
	cmp	w8, #64
	b.lt	LBB0_41
; %bb.37:
Lloh63:
	adrp	x8, _current_line_number@GOTPAGE
Lloh64:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x0, l_.str.8@PAGE
Lloh67:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_39
LBB0_38:
Lloh68:
	adrp	x8, _current_line_number@GOTPAGE
Lloh69:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
Lloh71:
	adrp	x0, l_.str.7@PAGE
Lloh72:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_39:
	bl	_warnx
LBB0_40:
	mov	w19, #0
LBB0_41:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_geom_processed,4,2             ; @geom_processed
	.comm	_part_processed,8,3             ; @part_processed
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR line %d: the geometry specification line must occur before\n    all partition specifications"

	.comm	_current_line_number,4,2        ; @current_line_number
l_.str.1:                               ; @.str.1
	.asciz	"ERROR line %d: incorrect number of geometry args"

	.comm	_dos_cyls,4,2                   ; @dos_cyls
	.comm	_dos_heads,4,2                  ; @dos_heads
	.comm	_dos_sectors,4,2                ; @dos_sectors
l_.str.2:                               ; @.str.2
	.asciz	"ERROR line %d: unknown geometry arg type: '%c' (0x%02x)"

	.comm	_dos_cylsecs,4,2                ; @dos_cylsecs
l_.str.3:                               ; @.str.3
	.asciz	"ERROR line %d: number of cylinders not specified"

l_.str.4:                               ; @.str.4
	.asciz	"WARNING line %d: number of cylinders (%d) may be out-of-range\n    (must be within 1-1024 for normal BIOS operation, unless the entire disk\n    is dedicated to FreeBSD)"

l_.str.5:                               ; @.str.5
	.asciz	"ERROR line %d: number of heads not specified"

l_.str.6:                               ; @.str.6
	.asciz	"ERROR line %d: number of heads must be within (1-256)"

l_.str.7:                               ; @.str.7
	.asciz	"ERROR line %d: number of sectors not specified"

l_.str.8:                               ; @.str.8
	.asciz	"ERROR line %d: number of sectors must be within (1-63)"

	.no_dead_strip	_process_geometry
.subsections_via_symbols
