	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_smmu_domain_get_attr
_arm_smmu_domain_get_attr:              ## @arm_smmu_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_to_smmu_domain
	movl	(%rbx), %ecx
	cmpl	$129, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$128, %ecx
	jne	LBB0_7
## %bb.2:
	cmpl	$130, %r15d
	jne	LBB0_6
## %bb.3:
	movl	4(%rax), %eax
	movq	_ARM_SMMU_DOMAIN_NESTED@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	sete	%dl
	movl	%edx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	cmpl	$131, %r15d
	jne	LBB0_6
## %bb.5:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_SMMU_DOMAIN_NESTED,4,2     ## @ARM_SMMU_DOMAIN_NESTED
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_arm_smmu_domain_get_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_smmu_domain_get_attr
_arm_smmu_domain_get_attr:              ; @arm_smmu_domain_get_attr
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_to_smmu_domain
	mov	x8, x0
	ldr	w9, [x21]
	cmp	w9, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #128
	b.ne	LBB0_7
; %bb.2:
	cmp	w20, #130
	b.ne	LBB0_6
; %bb.3:
	mov	w0, #0
	ldr	w8, [x8, #4]
Lloh0:
	adrp	x9, _ARM_SMMU_DOMAIN_NESTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARM_SMMU_DOMAIN_NESTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
	str	w8, [x19]
	b	LBB0_9
LBB0_4:
	cmp	w20, #131
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_SMMU_DOMAIN_NESTED,4,2     ; @ARM_SMMU_DOMAIN_NESTED
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_arm_smmu_domain_get_attr
.subsections_via_symbols
