	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_mipi_request             ## -- Begin function tegra_mipi_request
	.p2align	4, 0x90
_tegra_mipi_request:                    ## @tegra_mipi_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	-32(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_of_parse_phandle_with_args
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movl	-32(%rbp), %edi
	callq	_of_find_device_by_node
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %edi
	callq	_platform_get_drvdata
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	je	LBB0_7
## %bb.12:
	movl	-32(%rbp), %edi
	callq	_of_node_put
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, 8(%rbx)
	jmp	LBB0_11
LBB0_1:
	movl	%eax, %edi
	jmp	LBB0_10
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_8
LBB0_7:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rbx), %edi
	callq	_platform_device_put
LBB0_8:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_9:
	negl	%r14d
	movl	-32(%rbp), %edi
	callq	_of_node_put
	movl	%r14d, %edi
LBB0_10:
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nvidia,mipi-calibrate"

L_.str.1:                               ## @.str.1
	.asciz	"#nvidia,mipi-calibrate-cells"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_mipi_request             ; -- Begin function tegra_mipi_request
	.p2align	2
_tegra_mipi_request:                    ; @tegra_mipi_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x4, sp
	mov	w3, #0
	bl	_of_parse_phandle_with_args
	tbnz	w0, #31, LBB0_10
; %bb.1:
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	ldr	w0, [sp]
	bl	_of_find_device_by_node
	str	w0, [x19]
	cbz	w0, LBB0_6
; %bb.3:
	bl	_platform_get_drvdata
	str	w0, [x19, #20]
	cbz	w0, LBB0_7
; %bb.4:
	ldr	w0, [sp]
	bl	_of_node_put
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	x20, [x19, #8]
	b	LBB0_11
LBB0_5:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	b	LBB0_9
LBB0_6:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_platform_device_put
LBB0_8:
	mov	x0, x19
	bl	_kfree
LBB0_9:
	neg	w19, w20
	ldr	w0, [sp]
	bl	_of_node_put
	mov	x0, x19
LBB0_10:
	bl	_ERR_PTR
	mov	x19, x0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nvidia,mipi-calibrate"

l_.str.1:                               ; @.str.1
	.asciz	"#nvidia,mipi-calibrate-cells"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
.subsections_via_symbols
