	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipmmu_domain_alloc
_ipmmu_domain_alloc:                    ## @ipmmu_domain_alloc
	.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
	cmpl	$129, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$128, %edi
	jne	LBB0_6
## %bb.2:
	movl	$128, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___ipmmu_domain_alloc           ## TAILCALL
LBB0_3:
	movl	$129, %edi
	callq	___ipmmu_domain_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iommu_get_dma_cookie
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ipmmu_domain_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipmmu_domain_alloc
_ipmmu_domain_alloc:                    ; @ipmmu_domain_alloc
	.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
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_6
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___ipmmu_domain_alloc
LBB0_3:
	bl	___ipmmu_domain_alloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_iommu_get_dma_cookie
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_kfree
LBB0_6:
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ipmmu_domain_alloc
.subsections_via_symbols
