	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_init_busdma               ## -- Begin function dmar_init_busdma
	.p2align	4, 0x90
_dmar_init_busdma:                      ## @dmar_init_busdma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$1, (%rdi)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TUNABLE_INT_FETCH
	leaq	16(%rbx), %rdi
	callq	_TAILQ_INIT
	leaq	12(%rbx), %rdi
	movq	_dmar_bus_task_dmamap@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_TASK_INIT
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_taskqueue_thread_enqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%rbx), %r14
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rcx
	callq	_taskqueue_create
	movl	%eax, 8(%rbx)
	movq	_PI_DISK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %r8d
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_taskqueue_start_threads
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw.dmar.dma"

	.comm	_dmar_bus_task_dmamap,4,2       ## @dmar_bus_task_dmamap
L_.str.1:                               ## @.str.1
	.asciz	"dmar"

	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_taskqueue_thread_enqueue,4,2   ## @taskqueue_thread_enqueue
	.comm	_PI_DISK,4,2                    ## @PI_DISK
L_.str.2:                               ## @.str.2
	.asciz	"dmar%d busdma taskq"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_init_busdma               ; -- Begin function dmar_init_busdma
	.p2align	2
_dmar_init_busdma:                      ; @dmar_init_busdma
	.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
	mov	w8, #1
	str	w8, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TUNABLE_INT_FETCH
	add	x0, x19, #16
	bl	_TAILQ_INIT
	add	x0, x19, #12
Lloh2:
	adrp	x8, _dmar_bus_task_dmamap@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dmar_bus_task_dmamap@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x19
	bl	_TASK_INIT
Lloh5:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _taskqueue_thread_enqueue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _taskqueue_thread_enqueue@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x20, x19, #8
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x3, x20
	bl	_taskqueue_create
	str	w0, [x19, #8]
Lloh13:
	adrp	x8, _PI_DISK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PI_DISK@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	ldr	w4, [x19, #4]
Lloh16:
	adrp	x3, l_.str.2@PAGE
Lloh17:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w1, #1
	bl	_taskqueue_start_threads
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw.dmar.dma"

	.comm	_dmar_bus_task_dmamap,4,2       ; @dmar_bus_task_dmamap
l_.str.1:                               ; @.str.1
	.asciz	"dmar"

	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_taskqueue_thread_enqueue,4,2   ; @taskqueue_thread_enqueue
	.comm	_PI_DISK,4,2                    ; @PI_DISK
l_.str.2:                               ; @.str.2
	.asciz	"dmar%d busdma taskq"

.subsections_via_symbols
