	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_iova_domain               ## -- Begin function init_iova_domain
	.p2align	4, 0x90
_init_iova_domain:                      ## @init_iova_domain
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	$1, %edi
	cmpq	%rsi, (%rax)
	jb	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_is_power_of_2
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
LBB0_2:
	callq	_BUG_ON
	leaq	80(%rbx), %rdi
	callq	_spin_lock_init
	leaq	32(%rbx), %r14
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	leaq	36(%rbx), %r13
	movq	%r13, 72(%rbx)
	movq	%r13, 64(%rbx)
	movq	%r12, (%rbx)
	movq	%r15, 8(%rbx)
	movq	%rbx, %rdi
	callq	_iova_shift
                                        ## kill: def $eax killed $eax def $rax
	leal	32(%rax), %ecx
	negl	%ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movq	_IOVA_ANCHOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	%eax, 44(%rbx)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_rb_link_node
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_rb_insert_color
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_iova_rcaches              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
	.comm	_IOVA_ANCHOR,4,2                ## @IOVA_ANCHOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_iova_domain               ; -- Begin function init_iova_domain
	.p2align	2
_init_iova_domain:                      ; @init_iova_domain
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_is_power_of_2
	cmp	w0, #0
	cset	w0, eq
LBB0_3:
	bl	_BUG_ON
	add	x0, x19, #80
	bl	_spin_lock_init
Lloh3:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x22, x19
	str	w8, [x22, #32]!
	add	x23, x19, #36
	stp	x23, x23, [x19, #64]
	stp	x21, x20, [x19]
	mov	x0, x19
	bl	_iova_shift
	mov	w8, #32
	sub	w8, w8, w0
	mov	w9, #1
	lsl	x8, x9, x8
	stp	x8, x8, [x19, #16]
	stp	xzr, xzr, [x19, #48]
Lloh6:
	adrp	x8, _IOVA_ANCHOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IOVA_ANCHOR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w8, [x19, #40]
	mov	x0, x23
	mov	x1, #0
	mov	x2, x22
	bl	_rb_link_node
	mov	x0, x23
	mov	x1, x22
	bl	_rb_insert_color
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_init_iova_rcaches
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
	.comm	_IOVA_ANCHOR,4,2                ; @IOVA_ANCHOR
.subsections_via_symbols
