	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ima_file_free                  ## -- Begin function ima_file_free
	.p2align	4, 0x90
_ima_file_free:                         ## @ima_file_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ima_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_ima_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ima_iint_find_get
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rax, %r12
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ima_dec_counts
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	_iint_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kref_put                       ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ima_enabled,4,2                ## @ima_enabled
	.comm	_ima_initialized,4,2            ## @ima_initialized
	.comm	_iint_free,4,2                  ## @iint_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ima_file_free                  ; -- Begin function ima_file_free
	.p2align	2
_ima_file_free:                         ; @ima_file_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
Lloh0:
	adrp	x8, _ima_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ima_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ima_initialized@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ima_initialized@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldr	w0, [x20]
	bl	_S_ISREG
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_ima_iint_find_get
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	add	x22, x0, #4
	mov	x0, x22
	bl	_mutex_lock
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ima_dec_counts
	mov	x0, x22
	bl	_mutex_unlock
Lloh6:
	adrp	x8, _iint_free@GOTPAGE
Lloh7:
	ldr	x8, [x8, _iint_free@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	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	_kref_put
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ima_enabled,4,2                ; @ima_enabled
	.comm	_ima_initialized,4,2            ; @ima_initialized
	.comm	_iint_free,4,2                  ; @iint_free
.subsections_via_symbols
