	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_bpmp_message_valid
_tegra_bpmp_message_valid:              ## @tegra_bpmp_message_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rdx
	movq	_MSG_DATA_MIN_SZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	cmpq	%rsi, %rdx
	jg	LBB0_7
## %bb.1:
	movq	(%rdi), %rcx
	cmpq	%rsi, %rcx
	jg	LBB0_7
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	cmpq	$0, 24(%rdi)
	je	LBB0_7
LBB0_4:
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	cmpq	$0, 8(%rdi)
	setne	%al
LBB0_7:
	popq	%rbp
	retq
LBB0_5:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DATA_MIN_SZ,8,3            ## @MSG_DATA_MIN_SZ
	.no_dead_strip	_tegra_bpmp_message_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_bpmp_message_valid
_tegra_bpmp_message_valid:              ; @tegra_bpmp_message_valid
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #16]
Lloh0:
	adrp	x8, _MSG_DATA_MIN_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DATA_MIN_SZ@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	cmp	x9, x10
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x10
	b.le	LBB0_3
LBB0_2:
	mov	w0, #0
	ret
LBB0_3:
	cbz	x9, LBB0_5
; %bb.4:
	ldr	x9, [x0, #24]
	cbz	x9, LBB0_2
LBB0_5:
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x0, #8]
	cmp	x8, #0
	cset	w0, ne
	ret
LBB0_7:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DATA_MIN_SZ,8,3            ; @MSG_DATA_MIN_SZ
	.no_dead_strip	_tegra_bpmp_message_valid
.subsections_via_symbols
