	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_measurement
_process_measurement:                   ## @process_measurement
	.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	_ima_initialized@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movl	(%r14), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_ima_iint_find_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	addq	$4, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_ima_must_measure
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ima_collect_measurement
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_ima_store_measurement
	xorl	%ebx, %ebx
LBB0_7:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movq	_iint_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_kref_put
	jmp	LBB0_8
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ima_initialized,4,2            ## @ima_initialized
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_iint_free,4,2                  ## @iint_free
	.no_dead_strip	_process_measurement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_measurement
_process_measurement:                   ; @process_measurement
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _ima_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ima_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x25, [x8]
	ldr	w0, [x25]
	bl	_S_ISREG
	cbz	w0, LBB0_7
; %bb.2:
	mov	x0, x25
	bl	_ima_iint_find_get
	cbz	x0, LBB0_9
; %bb.3:
	mov	x21, x0
	add	x22, x0, #4
	mov	x0, x22
	bl	_mutex_lock
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	bl	_ima_must_measure
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	bl	_ima_collect_measurement
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ima_store_measurement
LBB0_6:
	mov	x0, x22
	bl	_mutex_unlock
Lloh3:
	adrp	x8, _iint_free@GOTPAGE
Lloh4:
	ldr	x8, [x8, _iint_free@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kref_put
	b	LBB0_8
LBB0_7:
	mov	w23, #0
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ima_initialized,4,2            ; @ima_initialized
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_iint_free,4,2                  ; @iint_free
	.no_dead_strip	_process_measurement
.subsections_via_symbols
