	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function q40ide_input_data
_q40ide_input_data:                     ## @q40ide_input_data
	.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, %r8
	movq	8(%rdi), %rdi
	movq	(%rdi), %rdi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	_ide_disk@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%r8)
	jne	LBB0_4
## %bb.2:
	movq	_IDE_TFLAG_FS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_4
## %bb.3:
	incl	%ecx
	shrl	%ecx
	movq	%rdx, %rsi
	movl	%ecx, %edx
	popq	%rbp
	jmp	___ide_mm_insw                  ## TAILCALL
LBB0_4:
	incl	%ecx
	shrl	%ecx
	movq	%rdx, %rsi
	movl	%ecx, %edx
	popq	%rbp
	jmp	_raw_insw_swapw                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ide_disk,8,3                   ## @ide_disk
	.comm	_IDE_TFLAG_FS,4,2               ## @IDE_TFLAG_FS
	.no_dead_strip	_q40ide_input_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function q40ide_input_data
_q40ide_input_data:                     ; @q40ide_input_data
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x0, #8]
	ldr	x0, [x9]
	cbz	x1, LBB0_4
; %bb.1:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ide_disk@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ide_disk@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _IDE_TFLAG_FS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IDE_TFLAG_FS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	w8, w3, #1
	lsr	w8, w8, #1
	mov	x1, x2
	mov	x2, x8
	b	___ide_mm_insw
LBB0_4:
	add	w8, w3, #1
	lsr	w8, w8, #1
	mov	x1, x2
	mov	x2, x8
	b	_raw_insw_swapw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ide_disk,8,3                   ; @ide_disk
	.comm	_IDE_TFLAG_FS,4,2               ; @IDE_TFLAG_FS
	.no_dead_strip	_q40ide_input_data
.subsections_via_symbols
