	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function release_ipu_resources
_release_ipu_resources:                 ## @release_ipu_resources
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	testl	%edi, %edi
	js	LBB0_2
## %bb.1:
	movq	%rbx, %rsi
	callq	_free_irq
LBB0_2:
	movl	4(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_4
## %bb.3:
	movq	%rbx, %rsi
	callq	_free_irq
LBB0_4:
	movq	32(%rbx), %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	32(%rbx), %rdi
	callq	_ipu_idmac_put
LBB0_6:
	movq	24(%rbx), %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	24(%rbx), %rdi
	callq	_ipu_idmac_put
LBB0_8:
	movq	16(%rbx), %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	16(%rbx), %rdi
	callq	_ipu_idmac_put
LBB0_10:
	leaq	8(%rbx), %r14
	movq	8(%rbx), %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	(%r14), %rdi
	callq	_ipu_idmac_put
LBB0_12:
	movq	40(%rbx), %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	40(%rbx), %rdi
	callq	_ipu_ic_put
LBB0_14:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movups	%xmm0, (%r14)
	movq	$-1, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_release_ipu_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function release_ipu_resources
_release_ipu_resources:                 ; @release_ipu_resources
	.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
	ldr	w0, [x0]
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_free_irq
LBB0_2:
	ldr	w0, [x19, #4]
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	x1, x19
	bl	_free_irq
LBB0_4:
	ldr	x0, [x19, #32]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x0, [x19, #32]
	bl	_ipu_idmac_put
LBB0_6:
	ldr	x0, [x19, #24]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x19, #24]
	bl	_ipu_idmac_put
LBB0_8:
	ldr	x0, [x19, #16]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	x0, [x19, #16]
	bl	_ipu_idmac_put
LBB0_10:
	mov	x20, x19
	ldr	x0, [x20, #8]!
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	x0, [x20]
	bl	_ipu_idmac_put
LBB0_12:
	ldr	x0, [x19, #40]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_14
; %bb.13:
	ldr	x0, [x19, #40]
	bl	_ipu_ic_put
LBB0_14:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_release_ipu_resources
.subsections_via_symbols
