	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Reset_cb
_Reset_cb:                              ## @Reset_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_system_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SYSTEM_MD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.4:
	xorl	%edi, %edi
	popq	%rbp
	jmp	_gen_reset                      ## TAILCALL
LBB0_1:
	movq	_SYSTEM_SMS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movq	_IO_RESET_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_io_reg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	%eax, 52(%rcx)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_system_hw,4,2                  ## @system_hw
	.comm	_SYSTEM_MD,4,2                  ## @SYSTEM_MD
	.comm	_SYSTEM_SMS,4,2                 ## @SYSTEM_SMS
	.comm	_IO_RESET_HI,4,2                ## @IO_RESET_HI
	.comm	_io_reg,8,3                     ## @io_reg
	.no_dead_strip	_Reset_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Reset_cb
_Reset_cb:                              ; @Reset_cb
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _system_hw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _system_hw@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SYSTEM_MD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SYSTEM_MD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	b	_gen_reset
LBB0_2:
Lloh6:
	adrp	x9, _SYSTEM_SMS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SYSTEM_SMS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _IO_RESET_HI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IO_RESET_HI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _io_reg@GOTPAGE
Lloh13:
	ldr	x9, [x9, _io_reg@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w10, [x9, #52]
	bic	w8, w10, w8
	str	w8, [x9, #52]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_system_hw,4,2                  ; @system_hw
	.comm	_SYSTEM_MD,4,2                  ; @SYSTEM_MD
	.comm	_SYSTEM_SMS,4,2                 ; @SYSTEM_SMS
	.comm	_IO_RESET_HI,4,2                ; @IO_RESET_HI
	.comm	_io_reg,8,3                     ; @io_reg
	.no_dead_strip	_Reset_cb
.subsections_via_symbols
