	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_dma_host_set               ## -- Begin function ide_dma_host_set
	.p2align	4, 0x90
_ide_dma_host_set:                      ## @ide_dma_host_set
	.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
	movl	%esi, %r14d
	movq	8(%rdi), %r15
	movb	(%rdi), %bl
	movq	(%r15), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	andb	$1, %bl
	movl	$32, %esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	movl	%eax, %ecx
	orl	%esi, %ecx
	notl	%esi
	andl	%eax, %esi
	testl	%r14d, %r14d
	cmovnel	%ecx, %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ide_dma_sff_write_status       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_dma_host_set               ; -- Begin function ide_dma_host_set
	.p2align	2
_ide_dma_host_set:                      ; @ide_dma_host_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x20, [x0, #8]
	ldr	w21, [x0]
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	and	x8, x21, #0x1
	mov	w9, #32
	lsl	w8, w9, w8
	orr	w9, w0, w8
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w1, w8, w9, eq
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ide_dma_sff_write_status
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
