	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hss_get_status
_hss_get_status:                        ## @hss_get_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_PORT_ERROR_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	leaq	L_.str(%rip), %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_hss_npe_send
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_npe_recv_message
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_crit
	xorl	%eax, %eax
	callq	_BUG
LBB0_2:
	movl	-40(%rbp), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_ERROR_READ,4,2            ## @PORT_ERROR_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PORT_ERROR_READ"

L_.str.1:                               ## @.str.1
	.asciz	"HSS-%i: unable to read HSS status\n"

	.no_dead_strip	_hss_get_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hss_get_status
_hss_get_status:                        ; @hss_get_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _PORT_ERROR_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_ERROR_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	stp	w9, w8, [sp, #4]
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	mov	x1, sp
	mov	x0, x19
	mov	x2, x20
	bl	_hss_npe_send
	ldr	w0, [x19, #4]
	mov	x1, sp
	mov	x2, x20
	bl	_npe_recv_message
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_crit
	bl	_BUG
LBB0_2:
	ldr	w0, [sp]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_ERROR_READ,4,2            ; @PORT_ERROR_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PORT_ERROR_READ"

l_.str.1:                               ; @.str.1
	.asciz	"HSS-%i: unable to read HSS status\n"

	.no_dead_strip	_hss_get_status
.subsections_via_symbols
