	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __iommu_detach_group
___iommu_detach_group:                  ## @__iommu_detach_group
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpq	%rsi, 8(%rbx)
	je	LBB0_5
## %bb.3:
	movq	_iommu_group_do_attach_device@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	___iommu_group_for_each_dev
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
LBB0_1:
	movq	%rdi, %rax
	movq	_iommu_group_do_detach_device@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	___iommu_group_for_each_dev
	movq	$0, 8(%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	(%rbx), %rax
	movq	%rax, 8(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iommu_group_do_detach_device,4,2 ## @iommu_group_do_detach_device
	.comm	_iommu_group_do_attach_device,4,2 ## @iommu_group_do_attach_device
	.no_dead_strip	___iommu_detach_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __iommu_detach_group
___iommu_detach_group:                  ; @__iommu_detach_group
	.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, x1
	ldr	x1, [x1]
	cbz	x1, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, x1
	b.eq	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _iommu_group_do_attach_device@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iommu_group_do_attach_device@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___iommu_group_for_each_dev
	cbz	w0, LBB0_5
; %bb.3:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN_ON
LBB0_4:
	mov	x8, x0
Lloh3:
	adrp	x9, _iommu_group_do_detach_device@GOTPAGE
Lloh4:
	ldr	x9, [x9, _iommu_group_do_detach_device@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, x8
	bl	___iommu_group_for_each_dev
	str	xzr, [x19, #8]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19]
	str	x8, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_iommu_group_do_detach_device,4,2 ; @iommu_group_do_detach_device
	.comm	_iommu_group_do_attach_device,4,2 ; @iommu_group_do_attach_device
	.no_dead_strip	___iommu_detach_group
.subsections_via_symbols
