	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iommu_map_insq
_iommu_map_insq:                        ## @iommu_map_insq
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_IS_LOCK_ASSERT
	leaq	4(%rbx), %rdi
	callq	_SLIST_EMPTY
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_dm_maplruq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
LBB0_3:
	movq	_dm_maplruq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_TAIL
	movl	$1, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dm_maplruq,4,2                 ## @dm_maplruq
	.no_dead_strip	_iommu_map_insq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iommu_map_insq
_iommu_map_insq:                        ; @iommu_map_insq
	.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
	mov	x20, x0
	bl	_IS_LOCK_ASSERT
	add	x0, x19, #4
	bl	_SLIST_EMPTY
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x21, _dm_maplruq@GOTPAGE
Lloh1:
	ldr	x21, [x21, _dm_maplruq@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_TAILQ_REMOVE
LBB0_3:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_TAILQ_INSERT_TAIL
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dm_maplruq,4,2                 ; @dm_maplruq
	.no_dead_strip	_iommu_map_insq
.subsections_via_symbols
