	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_dma_update_dma_spec
_acpi_dma_update_dma_spec:              ## @acpi_dma_update_dma_spec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	16(%rdi), %eax
	movl	%eax, 8(%rsi)
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rdi)
	je	LBB0_2
LBB0_3:
	movq	(%rsi), %r8
	movl	$-1, %eax
	movq	%r8, %rdx
	subq	%rcx, %rdx
	jl	LBB0_6
## %bb.4:
	cmpq	8(%rdi), %r8
	jg	LBB0_6
## %bb.5:
	movq	%rdx, (%rsi)
	movl	$1, %eax
LBB0_6:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_acpi_dma_update_dma_spec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_dma_update_dma_spec
_acpi_dma_update_dma_spec:              ; @acpi_dma_update_dma_spec
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #16]
	str	w8, [x1, #8]
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_7
LBB0_2:
	ldr	x9, [x1]
	subs	x8, x9, x8
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #-1
	ret
LBB0_4:
	ldr	x10, [x0, #8]
	cmp	x9, x10
	b.le	LBB0_6
; %bb.5:
	mov	w0, #-1
	ret
LBB0_6:
	str	x8, [x1]
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_acpi_dma_update_dma_spec
.subsections_via_symbols
