	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_params
_print_params:                          ## @print_params
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_cyls@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_heads@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sectors@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cylsecs@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_dos_cyls@GOTPCREL(%rip), %rbx
	cmpl	$1023, (%rbx)                   ## imm = 0x3FF
	movq	_dos_heads@GOTPCREL(%rip), %r14
	movq	_dos_sectors@GOTPCREL(%rip), %r15
	jg	LBB0_3
## %bb.1:
	cmpl	$255, (%r14)
	jg	LBB0_3
## %bb.2:
	cmpl	$64, (%r15)
	jl	LBB0_4
LBB0_3:
	leaq	L_str.5(%rip), %rdi
	callq	_puts
LBB0_4:
	leaq	L_str.4(%rip), %rdi
	callq	_puts
	movl	(%rbx), %esi
	movl	(%r14), %edx
	movl	(%r15), %ecx
	movq	_dos_cylsecs@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"

	.comm	_cyls,4,2                       ## @cyls
	.comm	_heads,4,2                      ## @heads
	.comm	_sectors,4,2                    ## @sectors
	.comm	_cylsecs,4,2                    ## @cylsecs
	.comm	_dos_cyls,4,2                   ## @dos_cyls
	.comm	_dos_heads,4,2                  ## @dos_heads
	.comm	_dos_sectors,4,2                ## @dos_sectors
	.comm	_dos_cylsecs,4,2                ## @dos_cylsecs
L_str:                                  ## @str
	.asciz	"parameters extracted from in-core disklabel are:"

L_str.4:                                ## @str.4
	.asciz	"parameters to be used for BIOS calculations are:"

L_str.5:                                ## @str.5
	.asciz	"Figures below won't work with BIOS for partitions not in cyl 1"

	.no_dead_strip	_print_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_params
_print_params:                          ; @print_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x8, _cyls@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cyls@GOTPAGEOFF]
Lloh4:
	adrp	x9, _heads@GOTPAGE
Lloh5:
	ldr	x9, [x9, _heads@GOTPAGEOFF]
Lloh6:
	adrp	x10, _sectors@GOTPAGE
Lloh7:
	ldr	x10, [x10, _sectors@GOTPAGEOFF]
Lloh8:
	adrp	x11, _cylsecs@GOTPAGE
Lloh9:
	ldr	x11, [x11, _cylsecs@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	ldr	w10, [x10]
Lloh13:
	ldr	w11, [x11]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh16:
	adrp	x20, _dos_cyls@GOTPAGE
Lloh17:
	ldr	x20, [x20, _dos_cyls@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh18:
	adrp	x21, _dos_heads@GOTPAGE
Lloh19:
	ldr	x21, [x21, _dos_heads@GOTPAGEOFF]
Lloh20:
	adrp	x19, _dos_sectors@GOTPAGE
Lloh21:
	ldr	x19, [x19, _dos_sectors@GOTPAGEOFF]
	cmp	w8, #1023
	b.gt	LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #255
	b.gt	LBB0_3
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #64
	b.lt	LBB0_4
LBB0_3:
Lloh22:
	adrp	x0, l_str.5@PAGE
Lloh23:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
LBB0_4:
Lloh24:
	adrp	x0, l_str.4@PAGE
Lloh25:
	add	x0, x0, l_str.4@PAGEOFF
	bl	_puts
Lloh26:
	adrp	x8, _dos_cylsecs@GOTPAGE
Lloh27:
	ldr	x8, [x8, _dos_cylsecs@GOTPAGEOFF]
	ldr	w9, [x20]
	ldr	w10, [x21]
	ldr	w11, [x19]
Lloh28:
	ldr	w8, [x8]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh11
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"cylinders=%d heads=%d sectors/track=%d (%d blks/cyl)\n\n"

	.comm	_cyls,4,2                       ; @cyls
	.comm	_heads,4,2                      ; @heads
	.comm	_sectors,4,2                    ; @sectors
	.comm	_cylsecs,4,2                    ; @cylsecs
	.comm	_dos_cyls,4,2                   ; @dos_cyls
	.comm	_dos_heads,4,2                  ; @dos_heads
	.comm	_dos_sectors,4,2                ; @dos_sectors
	.comm	_dos_cylsecs,4,2                ; @dos_cylsecs
l_str:                                  ; @str
	.asciz	"parameters extracted from in-core disklabel are:"

l_str.4:                                ; @str.4
	.asciz	"parameters to be used for BIOS calculations are:"

l_str.5:                                ; @str.5
	.asciz	"Figures below won't work with BIOS for partitions not in cyl 1"

	.no_dead_strip	_print_params
.subsections_via_symbols
