	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sja1105_setup_policer
_sja1105_setup_policer:                 ## @sja1105_setup_policer
	.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
	movslq	%esi, %rax
	movq	%rax, %rbx
	shlq	$5, %rbx
	movl	%eax, (%rdi,%rbx)
	movl	$65535, 4(%rdi,%rbx)            ## imm = 0xFFFF
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_SJA1105_RATE_MBPS
	movl	%eax, 24(%r14,%rbx)
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rax
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%rcx, 16(%r14,%rbx)
	movq	$0, 8(%r14,%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_FRAME_LEN,8,3              ## @ETH_FRAME_LEN
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.no_dead_strip	_sja1105_setup_policer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sja1105_setup_policer
_sja1105_setup_policer:                 ; @sja1105_setup_policer
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x8, w1
	add	x19, x0, x8, lsl #5
	mov	w8, #65535
	stp	w1, w8, [x19]
	mov	w0, #1000
	bl	_SJA1105_RATE_MBPS
Lloh0:
	adrp	x8, _ETH_FRAME_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_FRAME_LEN@GOTPAGEOFF]
	str	w0, [x19, #24]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh5:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x8, x8, x10
	stp	xzr, x8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_FRAME_LEN,8,3              ; @ETH_FRAME_LEN
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.no_dead_strip	_sja1105_setup_policer
.subsections_via_symbols
