	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function syscon_poweroff
_syscon_poweroff:                       ## @syscon_poweroff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_offset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_value@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_regmap_update_bits
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_mdelay
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_emerg                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_map,4,2                        ## @map
	.comm	_offset,4,2                     ## @offset
	.comm	_mask,4,2                       ## @mask
	.comm	_value,4,2                      ## @value
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to poweroff system\n"

	.no_dead_strip	_syscon_poweroff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function syscon_poweroff
_syscon_poweroff:                       ; @syscon_poweroff
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _map@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _offset@GOTPAGE
Lloh4:
	ldr	x8, [x8, _offset@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _mask@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mask@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _value@GOTPAGE
Lloh10:
	ldr	x8, [x8, _value@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_regmap_update_bits
	mov	w0, #1000
	bl	_mdelay
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_pr_emerg
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_map,4,2                        ; @map
	.comm	_offset,4,2                     ; @offset
	.comm	_mask,4,2                       ; @mask
	.comm	_value,4,2                      ; @value
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to poweroff system\n"

	.no_dead_strip	_syscon_poweroff
.subsections_via_symbols
