	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcan_usb_pro_set_bittiming
_pcan_usb_pro_set_bittiming:            ## @pcan_usb_pro_set_bittiming
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	4(%rdi), %eax
	setne	%cl
	shll	$23, %ecx
	movl	(%rsi), %eax
	movl	4(%rsi), %edx
	shll	$24, %eax
	addl	%ecx, %eax
	addl	$-16777216, %eax                ## imm = 0xFF000000
	shll	$20, %edx
	addl	$-1048576, %edx                 ## imm = 0xFFF00000
	movl	12(%rsi), %ecx
	addl	8(%rsi), %ecx
	shll	$16, %ecx
	addl	$-65536, %ecx                   ## imm = 0xFFFF0000
	movl	16(%rsi), %ebx
	decl	%ebx
	orl	%edx, %ebx
	orl	%ecx, %ebx
	orl	%eax, %ebx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_netdev_info
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pcan_usb_pro_set_bitrate       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CAN_CTRLMODE_3_SAMPLES,4,2     ## @CAN_CTRLMODE_3_SAMPLES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting ccbt=0x%08x\n"

	.no_dead_strip	_pcan_usb_pro_set_bittiming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcan_usb_pro_set_bittiming
_pcan_usb_pro_set_bittiming:            ; @pcan_usb_pro_set_bittiming
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w0, w9, [x0]
	tst	w8, w9
	cset	w8, ne
	lsl	w8, w8, #23
	ldp	w9, w10, [x1]
	bfi	w8, w9, #24, #8
	mov	w9, #-16777216
	lsl	w10, w10, #20
	sub	w10, w10, #256, lsl #12         ; =1048576
	add	w8, w8, w9
	orr	w8, w8, w10
	ldp	w9, w10, [x1, #8]
	add	w9, w10, w9
	lsl	w9, w9, #16
	sub	w9, w9, #16, lsl #12            ; =65536
	ldr	w10, [x1, #16]
	sub	w10, w10, #1
	orr	w8, w8, w10
	orr	w20, w8, w9
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_netdev_info
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pcan_usb_pro_set_bitrate
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CAN_CTRLMODE_3_SAMPLES,4,2     ; @CAN_CTRLMODE_3_SAMPLES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting ccbt=0x%08x\n"

	.no_dead_strip	_pcan_usb_pro_set_bittiming
.subsections_via_symbols
