	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iommu_domain_get_attr          ## -- Begin function iommu_domain_get_attr
	.p2align	4, 0x90
_iommu_domain_get_attr:                 ## @iommu_domain_get_attr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_5
## %bb.2:
	movl	16(%rdi), %eax
	jmp	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	cmpq	$0, (%rdi)
	setne	%al
LBB0_3:
	movl	%eax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iommu_domain_get_attr          ; -- Begin function iommu_domain_get_attr
	.p2align	2
_iommu_domain_get_attr:                 ; @iommu_domain_get_attr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	ldr	w8, [x8, #16]
	str	w8, [x2]
	ret
LBB0_3:
	mov	w0, #0
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, ne
	str	w8, [x2]
	ret
LBB0_4:
	ldr	x9, [x8, #8]
	ldr	x3, [x9]
	cbz	x3, LBB0_6
; %bb.5:
	mov	x0, x8
	br	x3
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
