	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_scu_ocotp_probe
_imx_scu_ocotp_probe:                   ## @imx_scu_ocotp_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	callq	_imx_scu_get_handle
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movq	%rax, (%rbx)
	movq	%r14, 8(%rbx)
	movl	(%rax), %eax
	shll	$2, %eax
	movq	_imx_scu_ocotp_nvmem_config@GOTPCREL(%rip), %rsi
	movl	%eax, (%rsi)
	movq	%r14, 16(%rsi)
	movq	%rbx, 8(%rsi)
	movq	%r14, %rdi
	callq	_devm_nvmem_register
	movq	%rax, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_imx_scu_ocotp_nvmem_config,24,3 ## @imx_scu_ocotp_nvmem_config
	.no_dead_strip	_imx_scu_ocotp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_scu_ocotp_probe
_imx_scu_ocotp_probe:                   ; @imx_scu_ocotp_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	add	x0, x0, #16
	bl	_imx_scu_get_handle
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_of_device_get_match_data
	stp	x0, x19, [x20]
	ldr	w8, [x0]
	lsl	w8, w8, #2
Lloh3:
	adrp	x1, _imx_scu_ocotp_nvmem_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _imx_scu_ocotp_nvmem_config@GOTPAGEOFF]
	str	w8, [x1]
	stp	x20, x19, [x1, #8]
	mov	x0, x19
	bl	_devm_nvmem_register
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR_OR_ZERO
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_imx_scu_ocotp_nvmem_config,24,3 ; @imx_scu_ocotp_nvmem_config
	.no_dead_strip	_imx_scu_ocotp_probe
.subsections_via_symbols
