	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ene_rx_disable_hw
_ene_rx_disable_hw:                     ## @ene_rx_disable_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_ene_rx_enable_cir_engine
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ene_rx_enable_fan_input
	movq	_ENE_FW1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ENE_FW1_ENABLE@GOTPCREL(%rip), %rax
	movq	_ENE_FW1_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ene_clear_reg_mask
	movl	(%rbx), %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ir_raw_event_set_idle          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENE_FW1,4,2                    ## @ENE_FW1
	.comm	_ENE_FW1_ENABLE,4,2             ## @ENE_FW1_ENABLE
	.comm	_ENE_FW1_IRQ,4,2                ## @ENE_FW1_IRQ
	.no_dead_strip	_ene_rx_disable_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ene_rx_disable_hw
_ene_rx_disable_hw:                     ; @ene_rx_disable_hw
	.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, x0
	mov	w1, #0
	bl	_ene_rx_enable_cir_engine
	mov	x0, x19
	mov	w1, #0
	bl	_ene_rx_enable_fan_input
Lloh0:
	adrp	x8, _ENE_FW1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENE_FW1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ENE_FW1_ENABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ENE_FW1_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ENE_FW1_IRQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENE_FW1_IRQ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_ene_clear_reg_mask
	ldr	w0, [x19]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ir_raw_event_set_idle
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENE_FW1,4,2                    ; @ENE_FW1
	.comm	_ENE_FW1_ENABLE,4,2             ; @ENE_FW1_ENABLE
	.comm	_ENE_FW1_IRQ,4,2                ; @ENE_FW1_IRQ
	.no_dead_strip	_ene_rx_disable_hw
.subsections_via_symbols
