	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vexpress_reset_probe
_vexpress_reset_probe:                  ## @vexpress_reset_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_vexpress_reset_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_devm_regmap_init_vexpress_config
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dev_set_drvdata
	movl	(%r15), %ecx
	cmpl	$130, %ecx
	je	LBB0_10
## %bb.4:
	xorl	%eax, %eax
	cmpl	$129, %ecx
	je	LBB0_7
## %bb.5:
	cmpl	$128, %ecx
	jne	LBB0_8
## %bb.6:
	movq	_vexpress_power_off_device@GOTPCREL(%rip), %rcx
	movq	%r14, (%rcx)
	movq	_vexpress_power_off@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_pm_power_off@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_8
LBB0_7:
	movq	_vexpress_restart_device@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_8
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__vexpress_register_restart_handler ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vexpress_reset_of_match,4,2    ## @vexpress_reset_of_match
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_vexpress_power_off_device,8,3  ## @vexpress_power_off_device
	.comm	_vexpress_power_off,4,2         ## @vexpress_power_off
	.comm	_pm_power_off,4,2               ## @pm_power_off
	.comm	_vexpress_restart_device,4,2    ## @vexpress_restart_device
	.no_dead_strip	_vexpress_reset_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vexpress_reset_probe
_vexpress_reset_probe:                  ; @vexpress_reset_probe
	.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, x0
Lloh0:
	adrp	x8, _vexpress_reset_of_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vexpress_reset_of_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_devm_regmap_init_vexpress_config
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x21
	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	_PTR_ERR
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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_5:
	mov	x0, x19
	mov	x1, x21
	bl	_dev_set_drvdata
	ldr	w8, [x20]
	cmp	w8, #130
	b.eq	LBB0_11
; %bb.6:
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.8:
	mov	w0, #0
Lloh6:
	adrp	x8, _vexpress_power_off_device@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vexpress_power_off_device@GOTPAGEOFF]
Lloh8:
	str	x19, [x8]
Lloh9:
	adrp	x8, _vexpress_power_off@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vexpress_power_off@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _pm_power_off@GOTPAGE
Lloh13:
	ldr	x9, [x9, _pm_power_off@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	b	LBB0_4
LBB0_9:
Lloh15:
	adrp	x8, _vexpress_restart_device@GOTPAGE
Lloh16:
	ldr	x8, [x8, _vexpress_restart_device@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbz	w8, LBB0_11
LBB0_10:
	mov	w0, #0
	b	LBB0_4
LBB0_11:
	mov	x0, 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
	b	__vexpress_register_restart_handler
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_vexpress_reset_of_match,4,2    ; @vexpress_reset_of_match
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_vexpress_power_off_device,8,3  ; @vexpress_power_off_device
	.comm	_vexpress_power_off,4,2         ; @vexpress_power_off
	.comm	_pm_power_off,4,2               ; @pm_power_off
	.comm	_vexpress_restart_device,4,2    ; @vexpress_restart_device
	.no_dead_strip	_vexpress_reset_probe
.subsections_via_symbols
