	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function can_fixup_bittiming
_can_fixup_bittiming:                   ## @can_fixup_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movl	8(%r15), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	(%rbx), %eax
	jle	LBB0_3
	jmp	LBB0_7
LBB0_1:
	movl	$1, 8(%r15)
	movl	$1, %eax
	cmpl	(%rbx), %eax
	jg	LBB0_7
LBB0_3:
	movl	4(%r15), %r13d
	addl	(%r15), %r13d
	cmpl	4(%rbx), %r13d
	jl	LBB0_7
## %bb.4:
	cmpl	8(%rbx), %r13d
	jg	LBB0_7
## %bb.5:
	movl	12(%r15), %eax
	cmpl	12(%rbx), %eax
	jl	LBB0_7
## %bb.6:
	cmpl	16(%rbx), %eax
	jle	LBB0_9
LBB0_7:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movslq	(%r14), %r12
	imulq	32(%r15), %r12
	movl	20(%rbx), %esi
	cmpl	$2, %esi
	jl	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	callq	_do_div
LBB0_11:
	addq	$499999999, %r12                ## imm = 0x1DCD64FF
	movl	$1000000000, %esi               ## imm = 0x3B9ACA00
	movq	%r12, %rdi
	callq	_do_div
	movl	20(%rbx), %eax
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	imull	%ecx, %r12d
	movl	%r12d, 16(%r15)
	cmpl	%r12d, 24(%rbx)
	jg	LBB0_13
## %bb.12:
	cmpl	%r12d, 28(%rbx)
	jge	LBB0_14
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_14:
	movl	(%r15), %eax
	movl	12(%r15), %ecx
	addl	4(%r15), %eax
	addl	%eax, %ecx
	incl	%ecx
	movl	(%r14), %eax
	imull	%ecx, %r12d
	cltd
	idivl	%r12d
	movl	%eax, 20(%r15)
	imull	$1000, %r13d, %eax              ## imm = 0x3E8
	addl	$1000, %eax                     ## imm = 0x3E8
	cltd
	idivl	%ecx
	movl	%eax, 24(%r15)
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_can_fixup_bittiming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function can_fixup_bittiming
_can_fixup_bittiming:                   ; @can_fixup_bittiming
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_2:
	ldr	w9, [x21]
	cmp	w8, w9
	b.gt	LBB0_7
; %bb.3:
	ldp	w8, w9, [x19]
	ldr	w10, [x21, #4]
	add	w23, w9, w8
	cmp	w23, w10
	b.lt	LBB0_7
; %bb.4:
	ldr	w8, [x21, #8]
	cmp	w23, w8
	b.gt	LBB0_7
; %bb.5:
	ldr	w8, [x19, #12]
	ldr	w9, [x21, #12]
	cmp	w8, w9
	b.lt	LBB0_7
; %bb.6:
	ldr	w9, [x21, #16]
	cmp	w8, w9
	b.le	LBB0_10
LBB0_7:
Lloh0:
	adrp	x8, _ERANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldrsw	x8, [x20]
	ldr	x9, [x19, #32]
	mul	x22, x9, x8
	ldr	w1, [x21, #20]
	cmp	w1, #2
	b.lt	LBB0_12
; %bb.11:
	mov	x0, x22
	bl	_do_div
LBB0_12:
	mov	w8, #25855
	movk	w8, #7629, lsl #16
	add	x22, x22, x8
	mov	x0, x22
	mov	w1, #51712
	movk	w1, #15258, lsl #16
	bl	_do_div
	ldp	w8, w9, [x21, #20]
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	mul	w8, w8, w22
	str	w8, [x19, #16]
	cmp	w9, w8
	b.gt	LBB0_14
; %bb.13:
	ldr	w9, [x21, #28]
	cmp	w9, w8
	b.ge	LBB0_15
LBB0_14:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_15:
	mov	w0, #0
	ldp	w9, w10, [x19]
	ldr	w11, [x19, #12]
	add	w9, w9, w10
	add	w9, w9, w11
	add	w9, w9, #1
	ldr	w10, [x20]
	mul	w8, w9, w8
	sdiv	w8, w10, w8
	mov	w10, #1000
	mul	w10, w23, w10
	add	w10, w10, #1000
	sdiv	w9, w10, w9
	stp	w8, w9, [x19, #20]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_can_fixup_bittiming
.subsections_via_symbols
