	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2400m_rx_pl_descr_check
_i2400m_rx_pl_descr_check:              ## @i2400m_rx_pl_descr_check
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	callq	_i2400m_dev
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_i2400m_pld_size
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_i2400m_pld_type
	movq	(%r15), %r8
	cmpq	%r8, %r13
	jbe	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_2:
	movq	%r13, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rdx, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cmpq	%r8, %rcx
	jbe	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
LBB0_4:
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_7:
	movl	%r14d, %ecx
LBB0_8:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_I2400M_PT_ILLEGAL@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	jb	LBB0_8
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX: HW BUG? payload @%zu: size %zu is bigger than maximum %zu; ignoring message\n"

L_.str.1:                               ## @.str.1
	.asciz	"RX: HW BUG? payload @%zu: size %zu goes beyond the received buffer size (%zu bytes); ignoring message\n"

	.comm	_I2400M_PT_ILLEGAL,4,2          ## @I2400M_PT_ILLEGAL
L_.str.2:                               ## @.str.2
	.asciz	"RX: HW BUG? illegal payload type %u; ignoring message\n"

	.no_dead_strip	_i2400m_rx_pl_descr_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2400m_rx_pl_descr_check
_i2400m_rx_pl_descr_check:              ; @i2400m_rx_pl_descr_check
	.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	x22, x3
	mov	x20, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	bl	_i2400m_dev
	mov	x21, x0
	mov	x0, x24
	bl	_i2400m_pld_size
	mov	x23, x0
	mov	x0, x24
	bl	_i2400m_pld_type
	ldr	x8, [x25]
	cmp	x23, x8
	b.ls	LBB0_2
; %bb.1:
	stp	x23, x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	add	x8, x23, x20
	cmp	x8, x22
	b.ls	LBB0_7
; %bb.3:
	stp	x23, x22, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x21
	mov	x2, x20
LBB0_5:
	bl	_dev_err
LBB0_6:
	mov	x0, x19
	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_7:
	mov	x2, x0
Lloh7:
	adrp	x8, _I2400M_PT_ILLEGAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _I2400M_PT_ILLEGAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hs	LBB0_9
; %bb.8:
	mov	w19, #0
	b	LBB0_6
LBB0_9:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX: HW BUG? payload @%zu: size %zu is bigger than maximum %zu; ignoring message\n"

l_.str.1:                               ; @.str.1
	.asciz	"RX: HW BUG? payload @%zu: size %zu goes beyond the received buffer size (%zu bytes); ignoring message\n"

	.comm	_I2400M_PT_ILLEGAL,4,2          ; @I2400M_PT_ILLEGAL
l_.str.2:                               ; @.str.2
	.asciz	"RX: HW BUG? illegal payload type %u; ignoring message\n"

	.no_dead_strip	_i2400m_rx_pl_descr_check
.subsections_via_symbols
