	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ima_add_violation              ## -- Begin function ima_add_violation
	.p2align	4, 0x90
_ima_add_violation:                     ## @ima_add_violation
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_ima_htable@GOTPCREL(%rip), %rdi
	callq	_atomic_long_inc
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%rbx), %edi
	movq	_IMA_EVENT_NAME_LEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_strncpy
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	callq	_ima_store_template
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_4:
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %rcx
	movq	_AUDIT_INTEGRITY_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$0, (%rsp)
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	%r14d, %r9d
	callq	_integrity_audit_msg
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ima_htable,4,2                 ## @ima_htable
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IMA_EVENT_NAME_LEN_MAX,4,2     ## @IMA_EVENT_NAME_LEN_MAX
	.comm	_AUDIT_INTEGRITY_PCR,4,2        ## @AUDIT_INTEGRITY_PCR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ima_add_violation              ; -- Begin function ima_add_violation
	.p2align	2
_ima_add_violation:                     ; @ima_add_violation
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x0, _ima_htable@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ima_htable@GOTPAGEOFF]
	bl	_atomic_long_inc
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x23]
Lloh5:
	adrp	x8, _IMA_EVENT_NAME_LEN_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IMA_EVENT_NAME_LEN_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_strncpy
	mov	x0, x23
	mov	w1, #1
	mov	x2, x22
	bl	_ima_store_template
	mov	x24, x0
	tbz	w0, #31, LBB0_4
; %bb.2:
	mov	x0, x23
	bl	_kfree
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_4:
Lloh11:
	adrp	x8, _AUDIT_INTEGRITY_PCR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AUDIT_INTEGRITY_PCR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x24
	mov	w6, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_integrity_audit_msg
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ima_htable,4,2                 ; @ima_htable
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IMA_EVENT_NAME_LEN_MAX,4,2     ; @IMA_EVENT_NAME_LEN_MAX
	.comm	_AUDIT_INTEGRITY_PCR,4,2        ; @AUDIT_INTEGRITY_PCR
.subsections_via_symbols
