	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sil_sata_pre_reset
_sil_sata_pre_reset:                    ## @sil_sata_pre_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_ide_disk@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_IDE_SFLAG_SET_GEOMETRY@GOTPCREL(%rip), %rax
	movq	_IDE_SFLAG_RECALIBRATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, 8(%rdi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ide_disk,8,3                   ## @ide_disk
	.comm	_IDE_SFLAG_SET_GEOMETRY,4,2     ## @IDE_SFLAG_SET_GEOMETRY
	.comm	_IDE_SFLAG_RECALIBRATE,4,2      ## @IDE_SFLAG_RECALIBRATE
	.no_dead_strip	_sil_sata_pre_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sil_sata_pre_reset
_sil_sata_pre_reset:                    ; @sil_sata_pre_reset
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ide_disk@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ide_disk@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IDE_SFLAG_SET_GEOMETRY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDE_SFLAG_SET_GEOMETRY@GOTPAGEOFF]
Lloh5:
	adrp	x9, _IDE_SFLAG_RECALIBRATE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IDE_SFLAG_RECALIBRATE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x0, #8]
	bic	w8, w9, w8
	str	w8, [x0, #8]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ide_disk,8,3                   ; @ide_disk
	.comm	_IDE_SFLAG_SET_GEOMETRY,4,2     ; @IDE_SFLAG_SET_GEOMETRY
	.comm	_IDE_SFLAG_RECALIBRATE,4,2      ; @IDE_SFLAG_RECALIBRATE
	.no_dead_strip	_sil_sata_pre_reset
.subsections_via_symbols
