	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcmc_fid_generate
_bcmc_fid_generate:                     ## @bcmc_fid_generate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdx), %edi
	callq	_le16_to_cpu
	movq	_TXFID_SEQ_MASK@GOTPCREL(%rip), %rdx
	movq	_TXFID_QUEUE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rdx), %esi
	movl	(%rbx), %edi
	leal	1(%rdi), %ecx
	movl	%ecx, (%rbx)
	movq	_TXFID_SEQ_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	notl	%esi
	andl	%esi, %eax
	andl	(%rdx), %edi
	movq	_TX_BCMC_FIFO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%edi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXFID_SEQ_MASK,4,2             ## @TXFID_SEQ_MASK
	.comm	_TXFID_QUEUE_MASK,4,2           ## @TXFID_QUEUE_MASK
	.comm	_TXFID_SEQ_SHIFT,4,2            ## @TXFID_SEQ_SHIFT
	.comm	_TX_BCMC_FIFO,4,2               ## @TX_BCMC_FIFO
	.no_dead_strip	_bcmc_fid_generate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcmc_fid_generate
_bcmc_fid_generate:                     ; @bcmc_fid_generate
	.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
	ldr	w0, [x2]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _TXFID_SEQ_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXFID_SEQ_MASK@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _TXFID_QUEUE_MASK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TXFID_QUEUE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w9, w0, w9
	ldr	w10, [x19]
	add	w11, w10, #1
	str	w11, [x19]
Lloh5:
	adrp	x11, _TXFID_SEQ_SHIFT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _TXFID_SEQ_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	ldr	w8, [x8]
	and	w8, w10, w8
Lloh8:
	adrp	x10, _TX_BCMC_FIFO@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TX_BCMC_FIFO@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w0, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TXFID_SEQ_MASK,4,2             ; @TXFID_SEQ_MASK
	.comm	_TXFID_QUEUE_MASK,4,2           ; @TXFID_QUEUE_MASK
	.comm	_TXFID_SEQ_SHIFT,4,2            ; @TXFID_SEQ_SHIFT
	.comm	_TX_BCMC_FIFO,4,2               ; @TX_BCMC_FIFO
	.no_dead_strip	_bcmc_fid_generate
.subsections_via_symbols
