	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function einj_check_trigger_header
_einj_check_trigger_header:             ## @einj_check_trigger_header
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$12, (%rdi)
	jne	LBB0_4
## %bb.1:
	movl	4(%rdi), %ecx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jg	LBB0_4
## %bb.2:
	cmpl	$11, %ecx
	jle	LBB0_4
## %bb.3:
	movslq	8(%rdi), %rdx
	addl	$-12, %ecx
	shrl	$2, %ecx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_einj_check_trigger_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function einj_check_trigger_header
_einj_check_trigger_header:             ; @einj_check_trigger_header
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #12
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	ccmp	w8, #11, #4, le
	b.le	LBB0_4
; %bb.2:
	ldrsw	x9, [x0, #8]
	sub	w8, w8, #12
	lsr	w8, w8, #2
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_einj_check_trigger_header
.subsections_via_symbols
