	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtip_hw_show_status
_mtip_hw_show_status:                   ## @mtip_hw_show_status
	.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	%rdx, %r14
	callq	_dev_to_disk
	movq	(%rax), %rbx
	movq	_MTIP_DDF_OVER_TEMP_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	movq	_MTIP_DDF_WRITE_PROTECT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MTIP_DDF_OVER_TEMP_BIT,4,2     ## @MTIP_DDF_OVER_TEMP_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"thermal_shutdown\n"

	.comm	_MTIP_DDF_WRITE_PROTECT_BIT,4,2 ## @MTIP_DDF_WRITE_PROTECT_BIT
L_.str.2:                               ## @.str.2
	.asciz	"write_protect\n"

L_.str.3:                               ## @.str.3
	.asciz	"online\n"

	.no_dead_strip	_mtip_hw_show_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtip_hw_show_status
_mtip_hw_show_status:                   ; @mtip_hw_show_status
	.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, x2
	bl	_dev_to_disk
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _MTIP_DDF_OVER_TEMP_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTIP_DDF_OVER_TEMP_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _MTIP_DDF_WRITE_PROTECT_BIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MTIP_DDF_WRITE_PROTECT_BIT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh10:
	adrp	x9, l_.str.3@PAGE
Lloh11:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x2, x9, x8, eq
LBB0_3:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
                                        ; kill: def $w0 killed $w0 killed $x0
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MTIP_DDF_OVER_TEMP_BIT,4,2     ; @MTIP_DDF_OVER_TEMP_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"thermal_shutdown\n"

	.comm	_MTIP_DDF_WRITE_PROTECT_BIT,4,2 ; @MTIP_DDF_WRITE_PROTECT_BIT
l_.str.2:                               ; @.str.2
	.asciz	"write_protect\n"

l_.str.3:                               ; @.str.3
	.asciz	"online\n"

	.no_dead_strip	_mtip_hw_show_status
.subsections_via_symbols
