	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_smmu_device_probe
_arm_smmu_device_probe:                 ## @arm_smmu_device_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r12, 40(%rax)
	cmpq	$0, 16(%r12)
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_arm_smmu_device_dt_probe
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_49
LBB0_5:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_arm_smmu_device_acpi_probe
LBB0_6:
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_7
LBB0_49:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	callq	_arm_smmu_impl_init
	movq	%rax, %rbx
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	jmp	LBB0_9
LBB0_10:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %rbx
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 64(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	64(%r15), %rdi
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_12:
	movq	%rbx, %rdi
	callq	_resource_size
	movl	%eax, 60(%r15)
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	xorl	%r13d, %r13d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	leal	1(%rax), %r13d
	cmpl	(%r15), %eax
	jl	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	incl	52(%r15)
	jmp	LBB0_16
LBB0_17:
	cmpl	$0, 52(%r15)
	je	LBB0_18
## %bb.19:
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_50
## %bb.20:
	testl	%r13d, %r13d
	je	LBB0_25
## %bb.21:
	movl	%r13d, %r14d
	xorl	%ebx, %ebx
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	js	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_22
LBB0_25:
	movq	%r15, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	56(%rax), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_bulk_get_all
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_26
## %bb.27:
	movq	%r14, %rbx
	movl	%r15d, 16(%r14)
	movl	56(%r14), %esi
	movl	%r15d, %edi
	callq	_clk_bulk_prepare_enable
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_49
## %bb.28:
	movq	%rbx, %rdi
	callq	_arm_smmu_device_cfg_probe
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_49
## %bb.29:
	movq	24(%rbx), %rax
	movq	_ARM_SMMU_V2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.30:
	movl	48(%rbx), %ecx
	movl	52(%rbx), %edx
	cmpl	%edx, %ecx
	jle	LBB0_34
## %bb.31:
	leaq	L_.str.5(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	jmp	LBB0_32
LBB0_18:
	movl	(%r15), %ecx
	incl	%ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movl	%r13d, %edx
LBB0_32:
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_33
LBB0_50:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_2
LBB0_23:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_33:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_49
LBB0_26:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_49
LBB0_34:
	movl	%ecx, 52(%rbx)
LBB0_35:
	cmpl	$0, (%rbx)
	jle	LBB0_40
## %bb.36:
	xorl	%r13d, %r13d
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	40(%rbx), %rdi
	movl	(%rax,%r13,4), %esi
	movq	_arm_smmu_global_fault@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.6(%rip), %r8
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=1
	incq	%r13
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jl	LBB0_37
LBB0_40:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	addq	$32, %r13
	movq	40(%rbx), %rsi
	leaq	L_.str.8(%rip), %rcx
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_iommu_device_sysfs_add
	testl	%eax, %eax
	je	LBB0_43
## %bb.41:
	movl	%eax, %r15d
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_42
LBB0_38:
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movl	(%rax,%r13,4), %ecx
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_49
LBB0_43:
	movq	_arm_smmu_ops@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_iommu_device_set_ops
	movl	8(%r12), %esi
	movq	%r13, %rdi
	callq	_iommu_device_set_fwnode
	movq	%r13, %rdi
	callq	_iommu_device_register
	testl	%eax, %eax
	je	LBB0_45
## %bb.44:
	movl	%eax, %r15d
	leaq	L_.str.10(%rip), %rsi
LBB0_42:
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_49
LBB0_45:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	callq	_arm_smmu_device_reset
	movq	%r14, %rdi
	callq	_arm_smmu_test_smr_masks
	cmpq	$0, (%r12)
	je	LBB0_47
## %bb.46:
	movq	%r12, %rdi
	callq	_pm_runtime_set_active
	movq	%r12, %rdi
	callq	_pm_runtime_enable
LBB0_47:
	movq	_using_legacy_binding@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	$0, (%rax)
	jne	LBB0_49
## %bb.48:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_arm_smmu_bus_init
	jmp	LBB0_49
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate arm_smmu_device\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
L_.str.1:                               ## @.str.1
	.asciz	"found %d interrupts but expected at least %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"failed to allocate %d irqs\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to get irq index %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to get clocks %d\n"

	.comm	_ARM_SMMU_V2,8,3                ## @ARM_SMMU_V2
L_.str.5:                               ## @.str.5
	.asciz	"found only %d context irq(s) but %d required\n"

	.comm	_arm_smmu_global_fault,4,2      ## @arm_smmu_global_fault
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.6:                               ## @.str.6
	.asciz	"arm-smmu global fault"

L_.str.7:                               ## @.str.7
	.asciz	"failed to request global IRQ %d (%u)\n"

L_.str.8:                               ## @.str.8
	.asciz	"smmu.%pa"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to register iommu in sysfs\n"

	.comm	_arm_smmu_ops,4,2               ## @arm_smmu_ops
L_.str.10:                              ## @.str.10
	.asciz	"Failed to register iommu\n"

	.comm	_using_legacy_binding,4,2       ## @using_legacy_binding
	.no_dead_strip	_arm_smmu_device_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_smmu_device_probe
_arm_smmu_device_probe:                 ; @arm_smmu_device_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #40]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_arm_smmu_device_dt_probe
	mov	x21, x0
	cbnz	w0, LBB0_7
	b	LBB0_8
LBB0_3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_arm_smmu_device_acpi_probe
	mov	x21, x0
	cbz	w0, LBB0_8
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	mov	x0, x20
	bl	_arm_smmu_impl_init
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	b	LBB0_12
LBB0_10:
Lloh6:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x21, x0
	ldr	w8, [x0]
	str	w8, [sp, #28]
	mov	x0, x19
	mov	x1, x21
	bl	_devm_ioremap_resource
	str	x0, [x20, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x0, [x20, #64]
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
LBB0_13:
	mov	x0, x21
	bl	_resource_size
	str	w0, [x20, #60]
Lloh9:
	adrp	x23, _IORESOURCE_IRQ@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IORESOURCE_IRQ@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	w21, #0
	cbnz	x0, LBB0_27
LBB0_14:
	ldr	w8, [x20, #52]
	cbz	w8, LBB0_29
; %bb.15:
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_30
; %bb.16:
	cbz	w21, LBB0_20
; %bb.17:
	mov	x22, #0
	mov	w21, w21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_platform_get_irq
	tbnz	w0, #31, LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x20, #8]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	cmp	x21, x22
	b.ne	LBB0_18
LBB0_20:
	add	x1, x20, #56
	mov	x0, x19
	bl	_devm_clk_bulk_get_all
	mov	x21, x0
	tbnz	w0, #31, LBB0_33
; %bb.21:
	str	w21, [x20, #16]
	ldr	w1, [x20, #56]
	mov	x0, x21
	bl	_clk_bulk_prepare_enable
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.22:
	mov	x0, x20
	bl	_arm_smmu_device_cfg_probe
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.23:
	ldr	x8, [x20, #24]
Lloh11:
	adrp	x9, _ARM_SMMU_V2@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ARM_SMMU_V2@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_36
; %bb.24:
	ldp	w8, w9, [x20, #48]
	cmp	w8, w9
	b.le	LBB0_35
; %bb.25:
	stp	x9, x8, [sp]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_32
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w21, w21, #1
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_platform_get_resource
	cbz	x0, LBB0_14
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w8, [x20, #52]
	add	w8, w8, #1
	str	w8, [x20, #52]
	b	LBB0_26
LBB0_29:
	ldr	w8, [x20]
	add	w8, w8, #1
	stp	x21, x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_32
LBB0_30:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_31:
	str	x22, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_32:
	mov	x0, x19
	bl	_dev_err
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_5
LBB0_33:
	str	x21, [sp]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_34:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_35:
	str	w8, [x20, #52]
LBB0_36:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.37:
	mov	x23, #0
Lloh26:
	adrp	x24, _arm_smmu_global_fault@GOTPAGE
Lloh27:
	ldr	x24, [x24, _arm_smmu_global_fault@GOTPAGEOFF]
Lloh28:
	adrp	x25, _IRQF_SHARED@GOTPAGE
Lloh29:
	ldr	x25, [x25, _IRQF_SHARED@GOTPAGEOFF]
Lloh30:
	adrp	x22, l_.str.6@PAGE
Lloh31:
	add	x22, x22, l_.str.6@PAGEOFF
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #40]
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x23, lsl #2]
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x4, x22
	mov	x5, x20
	bl	_devm_request_irq
	cbnz	w0, LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.lt	LBB0_38
LBB0_40:
	add	x22, x20, #32
	ldr	x1, [x20, #40]
Lloh32:
	adrp	x3, l_.str.8@PAGE
Lloh33:
	add	x3, x3, l_.str.8@PAGEOFF
	add	x4, sp, #28
	mov	x0, x22
	mov	x2, #0
	bl	_iommu_device_sysfs_add
	cbz	w0, LBB0_43
; %bb.41:
	mov	x21, x0
Lloh34:
	adrp	x1, l_.str.9@PAGE
Lloh35:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_34
LBB0_42:
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x23, lsl #2]
	stp	x23, x8, [sp]
Lloh36:
	adrp	x1, l_.str.7@PAGE
Lloh37:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_34
LBB0_43:
Lloh38:
	adrp	x1, _arm_smmu_ops@GOTPAGE
Lloh39:
	ldr	x1, [x1, _arm_smmu_ops@GOTPAGEOFF]
	mov	x0, x22
	bl	_iommu_device_set_ops
	ldr	w1, [x19, #8]
	mov	x0, x22
	bl	_iommu_device_set_fwnode
	mov	x0, x22
	bl	_iommu_device_register
	cbz	w0, LBB0_45
; %bb.44:
	mov	x21, x0
Lloh40:
	adrp	x1, l_.str.10@PAGE
Lloh41:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_34
LBB0_45:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x20
	bl	_arm_smmu_device_reset
	mov	x0, x20
	bl	_arm_smmu_test_smr_masks
	ldr	x8, [x19]
	cbz	x8, LBB0_47
; %bb.46:
	mov	x0, x19
	bl	_pm_runtime_set_active
	mov	x0, x19
	bl	_pm_runtime_enable
LBB0_47:
Lloh42:
	adrp	x8, _using_legacy_binding@GOTPAGE
Lloh43:
	ldr	x8, [x8, _using_legacy_binding@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cbnz	w8, LBB0_49
; %bb.48:
	bl	_arm_smmu_bus_init
LBB0_49:
	mov	w21, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate arm_smmu_device\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
l_.str.1:                               ; @.str.1
	.asciz	"found %d interrupts but expected at least %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"failed to allocate %d irqs\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to get irq index %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to get clocks %d\n"

	.comm	_ARM_SMMU_V2,8,3                ; @ARM_SMMU_V2
l_.str.5:                               ; @.str.5
	.asciz	"found only %d context irq(s) but %d required\n"

	.comm	_arm_smmu_global_fault,4,2      ; @arm_smmu_global_fault
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.6:                               ; @.str.6
	.asciz	"arm-smmu global fault"

l_.str.7:                               ; @.str.7
	.asciz	"failed to request global IRQ %d (%u)\n"

l_.str.8:                               ; @.str.8
	.asciz	"smmu.%pa"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to register iommu in sysfs\n"

	.comm	_arm_smmu_ops,4,2               ; @arm_smmu_ops
l_.str.10:                              ; @.str.10
	.asciz	"Failed to register iommu\n"

	.comm	_using_legacy_binding,4,2       ; @using_legacy_binding
	.no_dead_strip	_arm_smmu_device_probe
.subsections_via_symbols
