	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ima_match_rules
_ima_match_rules:                       ## @ima_match_rules
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	movq	_IMA_FUNC@GOTPCREL(%rip), %rsi
	testl	%edi, (%rsi)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpl	%edx, 4(%rbx)
	jne	LBB0_19
LBB0_2:
	movq	_IMA_MASK@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpl	%ecx, 8(%rbx)
	jne	LBB0_19
LBB0_4:
	movq	_IMA_FSMAGIC@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	16(%rbx), %rcx
	movq	(%r14), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_19
LBB0_6:
	movq	_IMA_UID@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	24(%rbx), %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdx
	jne	LBB0_19
LBB0_8:
	movq	_MAX_LSM_RULES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %eax
	testl	%edx, %edx
	jle	LBB0_19
## %bb.9:
	xorl	%r13d, %r13d
	movq	_Audit_equal@GOTPCREL(%rip), %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r13
	movslq	%edx, %rcx
	cmpq	%rcx, %r13
	jge	LBB0_18
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rcx
	cmpl	$0, (%rcx,%r13,8)
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	-128(%r13), %eax
	cmpl	$3, %eax
	jb	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	-131(%r13), %eax
	cmpl	$2, %eax
	ja	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	leaq	-64(%rbp), %r15
	movq	%r15, %rsi
	callq	_security_inode_getsecid
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rbx
	leaq	-60(%rbp), %r15
	movq	%r15, %rsi
	callq	_security_task_getsecid
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r15), %edi
	movq	32(%rbx), %rax
	movl	(%rax,%r13,8), %ecx
	movl	4(%rax,%r13,8), %esi
	movl	(%r12), %edx
	xorl	%r8d, %r8d
	callq	_security_filter_rule_match
	testl	%eax, %eax
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_MAX_LSM_RULES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_17
LBB0_18:
	movl	$1, %eax
	jmp	LBB0_19
LBB0_20:
	xorl	%eax, %eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_IMA_FUNC,4,2                   ## @IMA_FUNC
	.comm	_IMA_MASK,4,2                   ## @IMA_MASK
	.comm	_IMA_FSMAGIC,4,2                ## @IMA_FSMAGIC
	.comm	_IMA_UID,4,2                    ## @IMA_UID
	.comm	_MAX_LSM_RULES,4,2              ## @MAX_LSM_RULES
	.comm	_Audit_equal,4,2                ## @Audit_equal
	.no_dead_strip	_ima_match_rules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ima_match_rules
_ima_match_rules:                       ; @ima_match_rules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _IMA_FUNC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IMA_FUNC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x20, #4]
	cmp	w9, w2
	b.ne	LBB0_18
LBB0_2:
Lloh6:
	adrp	x9, _IMA_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IMA_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x20, #8]
	cmp	w9, w3
	b.ne	LBB0_18
LBB0_4:
Lloh9:
	adrp	x9, _IMA_FSMAGIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IMA_FSMAGIC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	x9, [x20, #16]
	ldr	x10, [x19]
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_18
LBB0_6:
Lloh12:
	adrp	x9, _IMA_UID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IMA_UID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x20, #24]
	ldr	x9, [x21]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
LBB0_8:
Lloh15:
	adrp	x22, _MAX_LSM_RULES@GOTPAGE
Lloh16:
	ldr	x22, [x22, _MAX_LSM_RULES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.9:
	mov	x23, #0
	mov	x24, #0
Lloh17:
	adrp	x25, _Audit_equal@GOTPAGE
Lloh18:
	ldr	x25, [x25, _Audit_equal@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x24, x24, #1
	add	x23, x23, #8
	cmp	x24, w8, sxtw
	b.ge	LBB0_20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #32]
	ldr	w9, [x9, x23]
	cbz	w9, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w8, w24, #128
	cmp	w8, #3
	b.lo	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w8, w24, #131
	cmp	w8, #2
	b.hi	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x26, sp, #12
	add	x1, sp, #12
	mov	x0, x19
	bl	_security_inode_getsecid
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x26, sp, #8
	add	x1, sp, #8
	mov	x0, x21
	bl	_security_task_getsecid
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x26]
	ldr	x8, [x20, #32]
	add	x8, x8, x23
	ldr	w2, [x25]
	ldp	w3, w1, [x8]
	mov	x4, #0
	bl	_security_filter_rule_match
	cbz	w0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x22]
	b	LBB0_10
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
	mov	w0, #1
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_IMA_FUNC,4,2                   ; @IMA_FUNC
	.comm	_IMA_MASK,4,2                   ; @IMA_MASK
	.comm	_IMA_FSMAGIC,4,2                ; @IMA_FSMAGIC
	.comm	_IMA_UID,4,2                    ; @IMA_UID
	.comm	_MAX_LSM_RULES,4,2              ; @MAX_LSM_RULES
	.comm	_Audit_equal,4,2                ; @Audit_equal
	.no_dead_strip	_ima_match_rules
.subsections_via_symbols
