	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ima_counts_get                 ## -- Begin function ima_counts_get
	.p2align	4, 0x90
_ima_counts_get:                        ## @ima_counts_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ima_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.1:
	movq	_ima_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.2:
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	movq	8(%r13), %r15
	movl	(%rdi), %r12d
	movl	(%r15), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	%r15, %rdi
	callq	_ima_iint_find_get
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r14
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r12
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	_MAY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FILE_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ima_must_measure
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movq	_FMODE_WRITE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	andl	(%rax), %ecx
	jne	LBB0_6
## %bb.7:
	movq	_OPEN_WRITERS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_TOMTOU@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	movl	(%r13), %ecx
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ima_read_write_check
LBB0_9:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_ima_inc_counts
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	_iint_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kref_put                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ima_enabled,4,2                ## @ima_enabled
	.comm	_ima_initialized,4,2            ## @ima_initialized
	.comm	_MAY_READ,4,2                   ## @MAY_READ
	.comm	_FILE_CHECK,4,2                 ## @FILE_CHECK
	.comm	_FMODE_WRITE,4,2                ## @FMODE_WRITE
	.comm	_TOMTOU,4,2                     ## @TOMTOU
	.comm	_OPEN_WRITERS,4,2               ## @OPEN_WRITERS
	.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_counts_get                 ; -- Begin function ima_counts_get
	.p2align	2
_ima_counts_get:                        ; @ima_counts_get
	.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
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_6
; %bb.1:
	mov	x19, x0
	ldr	x23, [x0, #8]
	ldr	x21, [x23, #8]
	ldr	w24, [x0]
	ldr	w0, [x21]
	bl	_S_ISREG
	cbz	w0, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_ima_iint_find_get
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	add	x22, x0, #4
	mov	x0, x22
	bl	_mutex_lock
Lloh6:
	adrp	x8, _MAY_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAY_READ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _FILE_CHECK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILE_CHECK@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_ima_must_measure
	tbnz	w0, #31, LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _FMODE_WRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FMODE_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _OPEN_WRITERS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _OPEN_WRITERS@GOTPAGEOFF]
Lloh17:
	adrp	x10, _TOMTOU@GOTPAGE
Lloh18:
	ldr	x10, [x10, _TOMTOU@GOTPAGEOFF]
	tst	w8, w24
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldr	w3, [x23]
	mov	x1, x20
	mov	x2, x21
	bl	_ima_read_write_check
LBB0_5:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_ima_inc_counts
	mov	x0, x22
	bl	_mutex_unlock
Lloh19:
	adrp	x8, _iint_free@GOTPAGE
Lloh20:
	ldr	x8, [x8, _iint_free@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	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	_kref_put
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ima_enabled,4,2                ; @ima_enabled
	.comm	_ima_initialized,4,2            ; @ima_initialized
	.comm	_MAY_READ,4,2                   ; @MAY_READ
	.comm	_FILE_CHECK,4,2                 ; @FILE_CHECK
	.comm	_FMODE_WRITE,4,2                ; @FMODE_WRITE
	.comm	_TOMTOU,4,2                     ; @TOMTOU
	.comm	_OPEN_WRITERS,4,2               ; @OPEN_WRITERS
	.comm	_iint_free,4,2                  ; @iint_free
.subsections_via_symbols
