	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_rx_changed
_bcm_rx_changed:                        ## @bcm_rx_changed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	%rsi, %rdx
	movl	(%rdi), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdi)
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rcx
	addl	%esi, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_2
## %bb.1:
	movq	$0, (%rdi)
LBB0_2:
	movq	_BCM_CAN_DLC_MASK@GOTPCREL(%rip), %rax
	movq	_RX_RECV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	%ecx, (%rdx)
	movq	_RX_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	24(%rdi), %eax
	movl	%eax, -12(%rbp)
	movups	8(%rdi), %xmm0
	movups	%xmm0, -28(%rbp)
	movl	$1, -32(%rbp)
	leaq	-32(%rbp), %rsi
	movl	$1, %ecx
	callq	_bcm_send_to_user
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ULONG_MAX,4,2                  ## @ULONG_MAX
	.comm	_BCM_CAN_DLC_MASK,4,2           ## @BCM_CAN_DLC_MASK
	.comm	_RX_RECV,4,2                    ## @RX_RECV
	.comm	_RX_CHANGED,4,2                 ## @RX_CHANGED
	.no_dead_strip	_bcm_rx_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_rx_changed
_bcm_rx_changed:                        ; @bcm_rx_changed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
	ldr	w8, [x0]
	add	w9, w8, #1
	str	w9, [x0]
Lloh0:
	adrp	x9, _ULONG_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ULONG_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	str	xzr, [x0]
LBB0_2:
Lloh3:
	adrp	x8, _BCM_CAN_DLC_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCM_CAN_DLC_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _RX_RECV@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_RECV@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x2]
	and	w8, w9, w8
	str	w8, [x2]
Lloh9:
	adrp	x8, _RX_CHANGED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RX_CHANGED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	stp	w9, w8, [sp, #20]
	ldur	q0, [x0, #8]
	stur	q0, [sp, #4]
	mov	w8, #1
	str	w8, [sp]
	mov	x1, sp
	mov	w3, #1
	bl	_bcm_send_to_user
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ULONG_MAX,4,2                  ; @ULONG_MAX
	.comm	_BCM_CAN_DLC_MASK,4,2           ; @BCM_CAN_DLC_MASK
	.comm	_RX_RECV,4,2                    ; @RX_RECV
	.comm	_RX_CHANGED,4,2                 ; @RX_CHANGED
	.no_dead_strip	_bcm_rx_changed
.subsections_via_symbols
