	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_id_n_sectors
_ata_id_n_sectors:                      ## @ata_id_n_sectors
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ata_id_has_lba
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	callq	_ata_id_has_lba48
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	movq	_ATA_ID_LBA_CAPACITY_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ata_id_u64                     ## TAILCALL
LBB0_3:
	callq	_ata_id_current_chs_valid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ATA_ID_CUR_CYLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ATA_ID_CUR_HEADS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	imull	(%rbx,%rcx,4), %eax
	movq	_ATA_ID_CUR_SECTORS@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_2:
	movq	_ATA_ID_LBA_CAPACITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ata_id_u32                     ## TAILCALL
LBB0_5:
	movq	_ATA_ID_CYLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ATA_ID_HEADS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	imull	(%rbx,%rcx,4), %eax
	movq	_ATA_ID_SECTORS@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	(%rcx), %rcx
	imull	(%rbx,%rcx,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_ID_LBA_CAPACITY_2,4,2      ## @ATA_ID_LBA_CAPACITY_2
	.comm	_ATA_ID_LBA_CAPACITY,4,2        ## @ATA_ID_LBA_CAPACITY
	.comm	_ATA_ID_CUR_CYLS,8,3            ## @ATA_ID_CUR_CYLS
	.comm	_ATA_ID_CUR_HEADS,8,3           ## @ATA_ID_CUR_HEADS
	.comm	_ATA_ID_CUR_SECTORS,8,3         ## @ATA_ID_CUR_SECTORS
	.comm	_ATA_ID_CYLS,8,3                ## @ATA_ID_CYLS
	.comm	_ATA_ID_HEADS,8,3               ## @ATA_ID_HEADS
	.comm	_ATA_ID_SECTORS,8,3             ## @ATA_ID_SECTORS
	.no_dead_strip	_ata_id_n_sectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_id_n_sectors
_ata_id_n_sectors:                      ; @ata_id_n_sectors
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ata_id_has_lba
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ata_id_has_lba48
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _ATA_ID_LBA_CAPACITY_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATA_ID_LBA_CAPACITY_2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ata_id_u64
LBB0_3:
	mov	x0, x19
	bl	_ata_id_current_chs_valid
	cbz	x0, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _ATA_ID_CUR_CYLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATA_ID_CUR_CYLS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
Lloh6:
	adrp	x9, _ATA_ID_CUR_HEADS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATA_ID_CUR_HEADS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	mul	w8, w9, w8
Lloh9:
	adrp	x9, _ATA_ID_CUR_SECTORS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATA_ID_CUR_SECTORS@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _ATA_ID_LBA_CAPACITY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ATA_ID_LBA_CAPACITY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ata_id_u32
LBB0_6:
Lloh14:
	adrp	x8, _ATA_ID_CYLS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATA_ID_CYLS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
Lloh17:
	adrp	x9, _ATA_ID_HEADS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ATA_ID_HEADS@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	mul	w8, w9, w8
Lloh20:
	adrp	x9, _ATA_ID_SECTORS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ATA_ID_SECTORS@GOTPAGEOFF]
LBB0_7:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	mul	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_ID_LBA_CAPACITY_2,4,2      ; @ATA_ID_LBA_CAPACITY_2
	.comm	_ATA_ID_LBA_CAPACITY,4,2        ; @ATA_ID_LBA_CAPACITY
	.comm	_ATA_ID_CUR_CYLS,8,3            ; @ATA_ID_CUR_CYLS
	.comm	_ATA_ID_CUR_HEADS,8,3           ; @ATA_ID_CUR_HEADS
	.comm	_ATA_ID_CUR_SECTORS,8,3         ; @ATA_ID_CUR_SECTORS
	.comm	_ATA_ID_CYLS,8,3                ; @ATA_ID_CYLS
	.comm	_ATA_ID_HEADS,8,3               ; @ATA_ID_HEADS
	.comm	_ATA_ID_SECTORS,8,3             ; @ATA_ID_SECTORS
	.no_dead_strip	_ata_id_n_sectors
.subsections_via_symbols
