	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehea_destroy_eq                ## -- Begin function ehea_destroy_eq
	.p2align	4, 0x90
_ehea_destroy_eq:                       ## @ehea_destroy_eq
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_hcp_epas_dtor
	movq	_NORMAL_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ehea_destroy_eq_res
	movq	_H_R_STATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_ehea_error_data
	movq	_FORCE_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ehea_destroy_eq_res
LBB0_3:
	movq	_H_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NORMAL_FREE,4,2                ## @NORMAL_FREE
	.comm	_H_R_STATE,8,3                  ## @H_R_STATE
	.comm	_FORCE_FREE,4,2                 ## @FORCE_FREE
	.comm	_H_SUCCESS,8,3                  ## @H_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"destroy EQ failed\n"

	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehea_destroy_eq                ; -- Begin function ehea_destroy_eq
	.p2align	2
_ehea_destroy_eq:                       ; @ehea_destroy_eq
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x0, x0, #8
	bl	_hcp_epas_dtor
Lloh0:
	adrp	x8, _NORMAL_FREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NORMAL_FREE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ehea_destroy_eq_res
Lloh3:
	adrp	x8, _H_R_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H_R_STATE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldp	w1, w0, [x19]
	add	x2, sp, #8
	mov	x3, sp
	bl	_ehea_error_data
Lloh6:
	adrp	x8, _FORCE_FREE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FORCE_FREE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ehea_destroy_eq_res
LBB0_3:
Lloh9:
	adrp	x8, _H_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _H_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh14:
	adrp	x8, _EIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NORMAL_FREE,4,2                ; @NORMAL_FREE
	.comm	_H_R_STATE,8,3                  ; @H_R_STATE
	.comm	_FORCE_FREE,4,2                 ; @FORCE_FREE
	.comm	_H_SUCCESS,8,3                  ; @H_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"destroy EQ failed\n"

	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
