	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcan_msg_init
_pcan_msg_init:                         ## @pcan_msg_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PCAN_USBPRO_MSG_HEADER_LEN@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jle	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, 16(%rdi)
	movl	%edx, 4(%rdi)
	movl	%edx, (%rdi)
	movslq	(%rax), %rax
	leaq	(%rsi,%rax,4), %rax
	movq	%rax, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAN_USBPRO_MSG_HEADER_LEN,4,2 ## @PCAN_USBPRO_MSG_HEADER_LEN
	.no_dead_strip	_pcan_msg_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcan_msg_init
_pcan_msg_init:                         ; @pcan_msg_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PCAN_USBPRO_MSG_HEADER_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAN_USBPRO_MSG_HEADER_LEN@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w2
	b.le	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	stp	w2, w2, [x0]
	ldrsw	x8, [x8]
	add	x8, x1, x8, lsl #2
	stp	x8, x1, [x0, #8]
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAN_USBPRO_MSG_HEADER_LEN,4,2 ; @PCAN_USBPRO_MSG_HEADER_LEN
	.no_dead_strip	_pcan_msg_init
.subsections_via_symbols
