	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_msg_psi_free             ## -- Begin function enetc_msg_psi_free
	.p2align	4, 0x90
_enetc_msg_psi_free:                    ## @enetc_msg_psi_free
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	addq	$4, %rdi
	callq	_cancel_work_sync
	leaq	4(%r14), %rdi
	callq	_enetc_msg_disable_mr_int
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_enetc_msg_free_mbx
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_2
LBB0_3:
	movl	(%r14), %edi
	movq	_ENETC_SI_INT_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pci_irq_vector
	movl	%eax, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_irq                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_SI_INT_IDX,4,2           ## @ENETC_SI_INT_IDX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_msg_psi_free             ; -- Begin function enetc_msg_psi_free
	.p2align	2
_enetc_msg_psi_free:                    ; @enetc_msg_psi_free
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x19, [x0, #8]
	add	x0, x0, #4
	bl	_cancel_work_sync
	add	x0, x19, #4
	bl	_enetc_msg_disable_mr_int
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_enetc_msg_free_mbx
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _ENETC_SI_INT_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENETC_SI_INT_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pci_irq_vector
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free_irq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_SI_INT_IDX,4,2           ; @ENETC_SI_INT_IDX
.subsections_via_symbols
