	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_iommu_xlate
_of_iommu_xlate:                        ## @of_iommu_xlate
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_iommu_ops_from_fwnode
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_2:
	movq	(%r15), %rdi
	callq	_of_device_is_available
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	(%r15), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_iommu_fwspec_init
	testl	%eax, %eax
	jne	LBB0_4
## %bb.6:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	movq	_NO_IOMMU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_driver_deferred_probe_check_state ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_IOMMU,4,2                   ## @NO_IOMMU
	.no_dead_strip	_of_iommu_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_iommu_xlate
_of_iommu_xlate:                        ; @of_iommu_xlate
	.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, x1
	mov	x20, x0
	ldr	x0, [x1]
	bl	_iommu_ops_from_fwnode
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
LBB0_2:
	ldr	x0, [x19]
	bl	_of_device_is_available
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x21
	bl	_iommu_fwspec_init
	cbnz	w0, LBB0_7
; %bb.4:
	cbz	x21, LBB0_8
; %bb.5:
	ldr	x2, [x21]
	mov	x0, x20
	mov	x1, x19
	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
	br	x2
LBB0_6:
Lloh0:
	adrp	x8, _NO_IOMMU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NO_IOMMU@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_7:
	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
LBB0_8:
	mov	x0, x20
	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
	b	_driver_deferred_probe_check_state
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_IOMMU,4,2                   ; @NO_IOMMU
	.no_dead_strip	_of_iommu_xlate
.subsections_via_symbols
